From f221258610b9a7377c30c3c9e5b0f3a04ac255ae Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Wed, 20 Nov 2013 22:28:47 -0800 Subject: [PATCH] common: add unknown arch check --- common/arch.h | 6 ++++++ 1 file changed, 6 insertions(+) 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