summaryrefslogtreecommitdiff
blob: feea9259fd8906482a688a4f5372a693954c1492 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Solaris defines _LITTLE_ENDIAN or _BIG_ENDIAN

--- os.hpp
+++ os.hpp
@@ -221,6 +221,13 @@
   #endif
 #endif
 
+#ifdef _LITTLE_ENDIAN
+  #define LITTLE_ENDIAN
+#endif
+#ifdef _BIG_ENDIAN
+  #define BIG_ENDIAN
+#endif
+
 #endif
 
   typedef const char* MSGID;