Workaround for broken large file support on HP-UX

This commit is contained in:
Peter Eisentraut 2002-08-29 22:09:22 +00:00
parent f81ce4a0f6
commit d525ab81c3

View File

@ -15,5 +15,9 @@ typedef struct
#endif
#ifndef BYTE_ORDER
#define BYTE_ORDER BIG_ENDIAN
#endif
/* workaround for nonstandard large file support implementation */
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64
#define _LARGEFILE64_SOURCE 1
#endif