]> git.sur5r.net Git - openldap/commitdiff
Add _M_IX86 macro for MSVC
authorHoward Chu <hyc@symas.com>
Sat, 25 May 2013 17:16:55 +0000 (10:16 -0700)
committerHoward Chu <hyc@symas.com>
Sat, 25 May 2013 17:16:55 +0000 (10:16 -0700)
libraries/liblmdb/mdb.c

index 22c5a5c526ab321911d413b97afa1b5d4703a581..bc25bb39f07c00ce4d813c9b78bc034dfe73e4aa 100644 (file)
 #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