diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2002-08-29 22:09:22 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2002-08-29 22:09:22 +0000 |
commit | d525ab81c3719d64f3a120d85e38c62f54c640c5 (patch) | |
tree | 18aca392514e35a00d35089d44d40cc2099297c7 | |
parent | f81ce4a0f6985dc70a549f08b4f94306e65b86a8 (diff) | |
download | postgresql-d525ab81c3719d64f3a120d85e38c62f54c640c5.tar.gz postgresql-d525ab81c3719d64f3a120d85e38c62f54c640c5.zip |
Workaround for broken large file support on HP-UX
-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 |