Add _M_IX86 macro for MSVC

vmware
Howard Chu 12 years ago
parent e31c7d3b31
commit 4b49291653
  1. 2
      libraries/liblmdb/mdb.c

@ -114,7 +114,7 @@
#define BIG_ENDIAN __BIG_ENDIAN #define BIG_ENDIAN __BIG_ENDIAN
#endif #endif
#if defined(__i386) || defined(__x86_64) #if defined(__i386) || defined(__x86_64) || defined(_M_IX86)
#define MISALIGNED_OK 1 #define MISALIGNED_OK 1
#endif #endif

Loading…
Cancel
Save