aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/hpux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/hpux.h')
-rw-r--r--src/include/port/hpux.h14
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
+