[Freeswitch-svn] [commit] r10819 - freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src

FreeSWITCH SVN stkn at freeswitch.org
Tue Dec 16 12:12:37 PST 2008


Author: stkn
Date: Tue Dec 16 15:12:36 2008
New Revision: 10819

Log:
Do not redefined _FILE_OFFSET_BITS (fix for opensolaris)

Modified:
   freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/file.c

Modified: freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/file.c
==============================================================================
--- freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/file.c	(original)
+++ freeswitch/trunk/libs/xmlrpc-c/lib/abyss/src/file.c	Tue Dec 16 15:12:36 2008
@@ -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 <string.h>



More information about the Freeswitch-svn mailing list