about summary refs log tree commit diff
path: root/arch/sh/bits/endian.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/bits/endian.h')
-rw-r--r--arch/sh/bits/endian.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/sh/bits/endian.h b/arch/sh/bits/endian.h
index 4744b97d..2016cb20 100644
--- a/arch/sh/bits/endian.h
+++ b/arch/sh/bits/endian.h
@@ -1,5 +1,5 @@
-#if __LITTLE_ENDIAN__
-#define __BYTE_ORDER __LITTLE_ENDIAN
-#else
+#if __BIG_ENDIAN__
 #define __BYTE_ORDER __BIG_ENDIAN
+#else
+#define __BYTE_ORDER __LITTLE_ENDIAN
 #endif