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
This commit is contained in:
Stefan Knoblich 2008-12-16 20:12:36 +00:00
parent 538a0e2db9
commit f298d6855f
1 changed files with 4 additions and 0 deletions

View File

@ -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>