move __BYTE_ORDER definition to alltypes.h
[musl] / arch / mipsn32 / bits / alltypes.h.in
index 0c7d491..d5d5128 100644 (file)
@@ -2,6 +2,12 @@
 #define _Int64 long long
 #define _Reg int
 
+#if _MIPSEL || __MIPSEL || __MIPSEL__
+#define __BYTE_ORDER 1234
+#else
+#define __BYTE_ORDER 4321
+#endif
+
 #ifndef __cplusplus
 TYPEDEF int wchar_t;
 #endif