[alpine-aports] [apk-tools] [PATCH] fix typo in apk_defines.h

Nils Andreas Svee
Details
Message ID
<20171214170639.6718-1-me@lochnair.net>
Sender timestamp
1513271199
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 src/apk_defines.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
2.15.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---