aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/xlibi18n/XimProto.h
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/xlibi18n/XimProto.h')
-rw-r--r--libX11/src/xlibi18n/XimProto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libX11/src/xlibi18n/XimProto.h b/libX11/src/xlibi18n/XimProto.h
index 6b0096dd6..9551301a2 100644
--- a/libX11/src/xlibi18n/XimProto.h
+++ b/libX11/src/xlibi18n/XimProto.h
@@ -143,6 +143,13 @@ PERFORMANCE OF THIS SOFTWARE.
/*
* byte order
*/
+#ifdef BIGENDIAN
+#undef BIGENDIAN
+#endif
+#ifdef LITTLEENDIAN
+#undef LITTLEENDIAN
+#endif
+
#define BIGENDIAN (CARD8)0x42 /* MSB first */
#define LITTLEENDIAN (CARD8)0x6c /* LSB first */