summaryrefslogtreecommitdiff
path: root/src/include/port/sunos4.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/sunos4.h')
-rw-r--r--src/include/port/sunos4.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/include/port/sunos4.h b/src/include/port/sunos4.h
index c1ec7f5061..d395cbdbe1 100644
--- a/src/include/port/sunos4.h
+++ b/src/include/port/sunos4.h
@@ -1,5 +1,14 @@
#define USE_POSIX_TIME
-#ifndef BYTE_ORDER
-# define BYTE_ORDER BIG_ENDIAN
-#endif
+#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