From: Stefan Knoblich Date: Tue, 16 Dec 2008 20:12:36 +0000 (+0000) Subject: Do not redefined _FILE_OFFSET_BITS (fix for opensolaris) X-Git-Tag: v1.0.2~194 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f298d6855f2aadc3acd3703a44287a37d64ba35e;p=thirdparty%2Ffreeswitch.git Do not redefined _FILE_OFFSET_BITS (fix for opensolaris) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10819 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/xmlrpc-c/lib/abyss/src/file.c b/libs/xmlrpc-c/lib/abyss/src/file.c index 75926e0fb9..b428c0c7a6 100644 --- a/libs/xmlrpc-c/lib/abyss/src/file.c +++ b/libs/xmlrpc-c/lib/abyss/src/file.c @@ -40,11 +40,15 @@ cause security exposures. */ +#if !defined(_FILE_OFFSET_BITS) #define _FILE_OFFSET_BITS 64 +#endif /* Tell GNU libc to make off_t 64 bits and all the POSIX file functions the versions that handle 64 bit file offsets. */ +#if !defined(_LARGE_FILES) #define _LARGE_FILES +#endif /* Same as above, but for AIX */ #include