summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNils Andreas Svee <me@lochnair.net>2017-12-14 18:06:39 +0100
committerTimo Teräs <timo.teras@iki.fi>2017-12-15 10:08:36 +0200
commitac1681247f08f9fa8d625f99ea434be7becfc4f7 (patch)
tree3071945996a34b431568145cbc19c38609fa32bd /src
parent8e7fd3e06f300bd76b659db1164da1ee12f16870 (diff)
downloadapk-tools-ac1681247f08f9fa8d625f99ea434be7becfc4f7.tar.gz
apk-tools-ac1681247f08f9fa8d625f99ea434be7becfc4f7.tar.bz2
apk-tools-ac1681247f08f9fa8d625f99ea434be7becfc4f7.tar.xz
apk-tools-ac1681247f08f9fa8d625f99ea434be7becfc4f7.zip
fix typo in MIPS byte-order apk_defines.h
Diffstat (limited to 'src')
-rw-r--r--src/apk_defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 02b2042..c743a31 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -103,7 +103,7 @@ extern char **apk_argv;
#define APK_DEFAULT_ARCH "mips64"
#elif defined(__mips64) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define APK_DEFAULT_ARCH "mips64el"
-#elif defined(__mips__) && __BYTE_ORDER__ == __ORDER_BIG__ENDIAN__
+#elif defined(__mips__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#define APK_DEFAULT_ARCH "mips"
#elif defined(__mips__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define APK_DEFAULT_ARCH "mipsel"