diff options
-rw-r--r-- | src/include/port/hpux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h index e140c3cfcfc..82b1cadd8fc 100644 --- a/src/include/port/hpux.h +++ b/src/include/port/hpux.h @@ -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 |