summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-04-02 19:44:16 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-04-02 19:44:16 -0400
commitd7e2351db8b855af3b5b8860e000528ac99d57a4 (patch)
tree0702dca57b3d5a04b2d6142e3215187191640233
parentd3dacbffd2a87ea79ec05fa569bdd5d34f90254c (diff)
downloadmongo-d7e2351db8b855af3b5b8860e000528ac99d57a4.tar.gz
Windows doesn't have <x86intrin.h>, it does have <intrin.h> which is
included by <msvc.h>.
-rw-r--r--src/include/btree_cmp.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/btree_cmp.i b/src/include/btree_cmp.i
index f1841e8b86e..76f1ad4317a 100644
--- a/src/include/btree_cmp.i
+++ b/src/include/btree_cmp.i
@@ -7,7 +7,9 @@
*/
#ifdef HAVE_X86INTRIN_H
+#if !defined(_MSC_VER)
#include <x86intrin.h>
+#endif
/* 16B alignment */
#define WT_ALIGNED_16(p) (((uintptr_t)(p) & 0x0f) == 0)
#define WT_VECTOR_SIZE 16 /* chunk size */