Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d525ab8

Browse files
committed
Workaround for broken large file support on HP-UX
1 parent f81ce4a commit d525ab8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/include/port/hpux.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@ typedef struct
1515
#endif
1616
#ifndef BYTE_ORDER
1717
#define BYTE_ORDER BIG_ENDIAN
18+
#endif
1819

20+
/* workaround for nonstandard large file support implementation */
21+
#if defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64
22+
#define _LARGEFILE64_SOURCE 1
1923
#endif

0 commit comments

Comments
 (0)