rework langinfo code for ABI compat and for use by time code
[musl] / arch / mips / bits / endian.h
index ef074b7..5399dcb 100644 (file)
@@ -1 +1,5 @@
+#if _MIPSEL || __MIPSEL || __MIPSEL__
+#define __BYTE_ORDER __LITTLE_ENDIAN
+#else
 #define __BYTE_ORDER __BIG_ENDIAN
+#endif