aboutsummaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorJosh Gao <jmg116@gmail.com>2016-09-15 14:33:28 -0700
committerGitHub <noreply@github.com>2016-09-15 14:33:28 -0700
commit17c4b8de5f4ef2732dfa83cbc86e2cf112f48635 (patch)
tree8989d8123c1b025c75890fbb594dc2aa13a2b9b3 /include/jemalloc
parentd4ce47e7fb6af53fd0460052100382c728b58566 (diff)
downloadplatform_external_jemalloc_new-17c4b8de5f4ef2732dfa83cbc86e2cf112f48635.tar.gz
platform_external_jemalloc_new-17c4b8de5f4ef2732dfa83cbc86e2cf112f48635.tar.bz2
platform_external_jemalloc_new-17c4b8de5f4ef2732dfa83cbc86e2cf112f48635.zip
Fix -Wundef in _MSC_VER check.
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/jemalloc_macros.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/jemalloc_macros.h.in b/include/jemalloc/jemalloc_macros.h.in
index 129240ed..673ffd9b 100644
--- a/include/jemalloc/jemalloc_macros.h.in
+++ b/include/jemalloc/jemalloc_macros.h.in
@@ -37,7 +37,7 @@
# define JEMALLOC_CXX_THROW
#endif
-#if _MSC_VER
+#if defined(_MSC_VER)
# define JEMALLOC_ATTR(s)
# define JEMALLOC_ALIGNED(s) __declspec(align(s))
# define JEMALLOC_ALLOC_SIZE(s)