aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/univel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/univel.h')
-rw-r--r--src/include/port/univel.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/port/univel.h b/src/include/port/univel.h
index f1a7afc83bb..9ce1fef1ccd 100644
--- a/src/include/port/univel.h
+++ b/src/include/port/univel.h
@@ -13,6 +13,15 @@ extern void srandom(int seed);
extern int strcasecmp(char *s1,char *s2);
extern int gethostname(char *name,int namelen);
+#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 LITTLE_ENDIAN
#endif