summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-11-20 22:28:47 -0800
committerJay Sorg <jay.sorg@gmail.com>2013-11-20 22:28:47 -0800
commitf221258610b9a7377c30c3c9e5b0f3a04ac255ae (patch)
treecc6d776608418992f8fed10cdd14c2bec790c1c5
parent5402cd127333b0d993ed4cbf53deeabec8bdc58d (diff)
downloadxrdp-proprietary-f221258610b9a7377c30c3c9e5b0f3a04ac255ae.tar.gz
xrdp-proprietary-f221258610b9a7377c30c3c9e5b0f3a04ac255ae.zip
common: add unknown arch check
-rw-r--r--common/arch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/arch.h b/common/arch.h
index fe5736db..988153c2 100644
--- a/common/arch.h
+++ b/common/arch.h
@@ -32,6 +32,12 @@
defined(__AIX__) || defined(__PPC__) || defined(__mips__) || \
defined(__ia64__) || defined(__ppc__) || defined(__arm__)
#define NEED_ALIGN
+#elif defined(__x86__) || defined(__x86_64__) || \
+ defined(__AMD64__) || defined(_M_IX86) || \
+ defined(__i386__)
+#define NO_NEED_ALIGN
+#else
+#warning unknown arch
#endif
#endif