compat BUGFIX avoid macro collision
diff --git a/compat/compat.h.in b/compat/compat.h.in
index 947b0aa..73024f4 100644
--- a/compat/compat.h.in
+++ b/compat/compat.h.in
@@ -53,14 +53,14 @@
#undef le64toh
#undef htole64
-#cmakedefine BIG_ENDIAN
+#cmakedefine IS_BIG_ENDIAN
-#ifdef BIG_ENDIAN
-# define le64toh(x) (x)
-# define htole64(x) (x)
-#else
+#ifdef IS_BIG_ENDIAN
# define le64toh(x) bswap64(x)
# define htole64(x) bswap64(x)
+#else
+# define le64toh(x) (x)
+# define htole64(x) (x)
#endif
#ifndef MAP_ANONYMOUS