From 4b49291653c485841886e5a52c0aabd9ce50a9d9 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 25 May 2013 10:16:55 -0700 Subject: [PATCH] Add _M_IX86 macro for MSVC --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 22c5a5c..bc25bb3 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