OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f81ce4a
)
Workaround for broken large file support on HP-UX
author
Peter Eisentraut
<peter_e@gmx.net>
Thu, 29 Aug 2002 22:09:22 +0000
(22:09 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Thu, 29 Aug 2002 22:09:22 +0000
(22:09 +0000)
src/include/port/hpux.h
patch
|
blob
|
history
diff --git
a/src/include/port/hpux.h
b/src/include/port/hpux.h
index
e140c3c
..
82b1cad
100644
(file)
--- 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