From: Howard Chu Date: Sat, 25 May 2013 17:16:55 +0000 (-0700) Subject: Add _M_IX86 macro for MSVC X-Git-Tag: OPENLDAP_REL_ENG_2_4_36~36^2~34 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4b49291653c485841886e5a52c0aabd9ce50a9d9;p=openldap Add _M_IX86 macro for MSVC --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 22c5a5c526..bc25bb39f0 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -114,7 +114,7 @@ #define BIG_ENDIAN __BIG_ENDIAN #endif -#if defined(__i386) || defined(__x86_64) +#if defined(__i386) || defined(__x86_64) || defined(_M_IX86) #define MISALIGNED_OK 1 #endif