aboutsummaryrefslogtreecommitdiffstats
path: root/endiantest.c
diff options
context:
space:
mode:
Diffstat (limited to 'endiantest.c')
-rw-r--r--endiantest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/endiantest.c b/endiantest.c
new file mode 100644
index 00000000..de44ec5b
--- /dev/null
+++ b/endiantest.c
@@ -0,0 +1,6 @@
+#include "platform.h"
+#if __FLASHROM_LITTLE_ENDIAN__
+little
+#else
+big
+#endif