summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan M. Hoang <tmhoang@flatglobe.org>2016-11-20 22:39:44 +0700
committerTimo Teräs <timo.teras@iki.fi>2016-11-21 09:43:37 +0200
commitce72c8498e40b4330df4cc55bdeb62cf84c1494e (patch)
tree266d541519b0b88ff5d0c8928ff9a4135eaaa1f8
parentd07f777934d4377b3f189bf3e057653748b1daa3 (diff)
downloadapk-tools-ce72c8498e40b4330df4cc55bdeb62cf84c1494e.tar.gz
apk-tools-ce72c8498e40b4330df4cc55bdeb62cf84c1494e.tar.bz2
apk-tools-ce72c8498e40b4330df4cc55bdeb62cf84c1494e.tar.xz
apk-tools-ce72c8498e40b4330df4cc55bdeb62cf84c1494e.zip
add s390x headers
-rw-r--r--src/apk_defines.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h
index 9b2e904..7215360 100644
--- a/src/apk_defines.h
+++ b/src/apk_defines.h
@@ -95,6 +95,8 @@ extern char **apk_argv;
#define APK_DEFAULT_ARCH "armel"
#elif defined(__aarch64__) && __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#define APK_DEFAULT_ARCH "aarch64"
+#elif defined(__s390x__)
+#define APK_DEFAULT_ARCH "s390x"
#else
#error APK_DEFAULT_ARCH not detected for this architecture
#endif