boinc/m4
Eric J. Korpela 90d49a7d91 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of
parameter 5 to getsockopt() by using the compiler.  The macro was in danger of
becoming an ever expanding list of case statements, since some platforms use
socklen_t, others use size_t, and still others use int.  Some aren't even
consistent from OS rev to OS rev.

A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type.  This
is typedef to be boinc_socklen_t in lib/network.h.  The special cases for
__APPLE__ and WIN32 can probably be removed at a later time.  Places where
socklen_t was used have been changed to boinc_socklen_t.

Also added double inclusion protection to network.h

svn path=/trunk/boinc/; revision=6055
2005-05-06 01:54:00 +00:00
..
.cvsignore - Fixed autoconf/automake build process so that it works correctly 2004-11-26 17:45:13 +00:00
Makefile.am - Fixed autoconf/automake build process so that it works correctly 2004-11-26 17:45:13 +00:00
acx_pthread.m4 - Fixed autoconf/automake build process so that it works correctly 2004-11-26 17:45:13 +00:00
ax_check_gl.m4 - Fixed autoconf/automake build process so that it works correctly 2004-11-26 17:45:13 +00:00
ax_check_glu.m4 - Fixed autoconf/automake build process so that it works correctly 2004-11-26 17:45:13 +00:00
ax_check_glut.m4 - Fixed autoconf/automake build process so that it works correctly 2004-11-26 17:45:13 +00:00
ax_lang_compiler_ms.m4 - Fixed autoconf/automake build process so that it works correctly 2004-11-26 17:45:13 +00:00
boinc_getsockopt.m4 Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type of 2005-05-06 01:54:00 +00:00
kc_mysql.m4 - Fixed autoconf/automake build process so that it works correctly 2004-11-26 17:45:13 +00:00
libtool.m4 Added libtool.m4 so it doesn't need a local installation. 2005-05-06 00:29:58 +00:00
sah_check_lib.m4 New autoconf macros: 2005-04-28 21:42:05 +00:00
sah_grx.m4 New autoconf macros: 2005-04-28 21:42:05 +00:00
sah_header_stdcxx.m4 Fixed header order problem on solaris and other platforms where largefile 2005-05-06 00:32:11 +00:00
sah_largefile_breaks_cxx.m4 -Unfortunately on some 32 bit systems there is a problem with wx-widgets 2005-02-09 19:39:04 +00:00
sah_libext.m4 New autoconf macros: 2005-04-28 21:42:05 +00:00
sah_namespace.m4 Added caching of results to SAH_CHECK_NAMESPACES and SAH_FUNCS_IN_NAMESPACE 2005-05-06 00:31:05 +00:00
sah_select_bitness.m4 New autoconf macros: 2005-04-28 21:42:05 +00:00
sah_staticize_ldflags.m4 New autoconf macros: 2005-04-28 21:42:05 +00:00
wxWidgets.m4 Put acinclude.m4 into m4/ subdirectory and renamed wxWidgets. 2004-11-19 13:57:40 +00:00