mirror of https://github.com/BOINC/boinc.git
90d49a7d91
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 |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile.am | ||
acx_pthread.m4 | ||
ax_check_gl.m4 | ||
ax_check_glu.m4 | ||
ax_check_glut.m4 | ||
ax_lang_compiler_ms.m4 | ||
boinc_getsockopt.m4 | ||
kc_mysql.m4 | ||
libtool.m4 | ||
sah_check_lib.m4 | ||
sah_grx.m4 | ||
sah_header_stdcxx.m4 | ||
sah_largefile_breaks_cxx.m4 | ||
sah_libext.m4 | ||
sah_namespace.m4 | ||
sah_select_bitness.m4 | ||
sah_staticize_ldflags.m4 | ||
wxWidgets.m4 |