Fixed problem with including std_fixes.h when compiling code as C rather than

C++.

svn path=/trunk/boinc/; revision=6054
This commit is contained in:
Eric J. Korpela 2005-05-06 00:36:07 +00:00
parent fca6c2e106
commit 5fa308a43d
1 changed files with 3 additions and 1 deletions

View File

@ -75,7 +75,9 @@ o_iterator transform(i_iterator first, i_iterator last, o_iterator res, OP op) {
#endif /* HAVE_STD_TRANSFORM */
#endif /* CONFIG_TEST */
#if defined(LARGEFILE_BREAKS_CXX) && (defined(_LARGE_FILES) || (_FILE_OFFSET_BITS==64)) && !defined(_USING_FCGI_)
#if defined(__cplusplus) && defined(LARGEFILE_BREAKS_CXX) && \
(defined(_LARGE_FILES) || (_FILE_OFFSET_BITS==64)) \
&& !defined(_USING_FCGI_)
#include <stdio.h>
#include <fcntl.h>