mirror of https://github.com/BOINC/boinc.git
0e47fe1fa6
configuring itself for largefile support. On these systems largefile support breaks C++ compiles by defining away many of the C standard library routines that should reside in namespace std::. In order to get around problem first we have to check the largefile support macros. Later we will use the macro SAH_LARGEFILE_BREAKS_CXX to check for the breakage. If if breakage is found LARGEFILE_BREAKS_CXX is defined in config.h. This define is checked in std_fixes.h and the appropriate functions are defined in order to solve the problem. (These functions were already in place) Because these defines affect the behavior of standard library headers, std_fixes.h is being included from config.h -Added AM_CPPFLAGS, AM_CFLAGS, and AM_CXXFLAGS (for flags common to all compiles) so they will be defined in all Makefile.am files. -Put #ifdef _cplusplus around the C++ specific items in std_fixes.h so it may be included from C source files. svn path=/trunk/boinc/; revision=5375 |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile.am | ||
acx_pthread.m4 | ||
ax_check_gl.m4 | ||
ax_check_glu.m4 | ||
ax_check_glut.m4 | ||
ax_lang_compiler_ms.m4 | ||
kc_mysql.m4 | ||
sah_grx.m4 | ||
sah_header_stdcxx.m4 | ||
sah_largefile_breaks_cxx.m4 | ||
sah_namespace.m4 | ||
wxWidgets.m4 |