diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-07-27 18:52:43 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-07-27 18:52:43 +0000 |
commit | d5e21e0924401fc44bbcb2cf1f1491d01256a840 (patch) | |
tree | 57459139bff567242ef076edfa16b21baf51f0d1 /src/include/port/hpux.h | |
parent | 3ac9d2fff321fa8f7996656b5a54a41461a0a84f (diff) | |
download | postgresql-d5e21e0924401fc44bbcb2cf1f1491d01256a840.tar.gz postgresql-d5e21e0924401fc44bbcb2cf1f1491d01256a840.zip |
HPUX 10 patches from Vladimir Turin
Diffstat (limited to 'src/include/port/hpux.h')
-rw-r--r-- | src/include/port/hpux.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/port/hpux.h b/src/include/port/hpux.h index 8bf04ce5b05..0315f79d629 100644 --- a/src/include/port/hpux.h +++ b/src/include/port/hpux.h @@ -2,3 +2,17 @@ # define USE_POSIX_TIME # define HAS_TEST_AND_SET typedef struct { int sem[4]; } slock_t; + +#ifndef BIG_ENDIAN +#define BIG_ENDIAN 4321 +#endif +#ifndef LITTLE_ENDIAN +#define LITTLE_ENDIAN 1234 +#endif +#ifndef PDP_ENDIAN +#define PDP_ENDIAN 3412 +#endif +#ifndef BYTE_ORDER +#define BYTE_ORDER BIG_ENDIAN +#endif + |