From f298d6855f2aadc3acd3703a44287a37d64ba35e Mon Sep 17 00:00:00 2001 From: Stefan Knoblich Date: Tue, 16 Dec 2008 20:12:36 +0000 Subject: [PATCH] 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 --- libs/xmlrpc-c/lib/abyss/src/file.c | 4 ++++ 1 file changed, 4 insertions(+) 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