diff options
author | Josh Gao <jmg116@gmail.com> | 2016-09-15 21:33:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-15 21:33:28 (GMT) |
commit | 17c4b8de5f4ef2732dfa83cbc86e2cf112f48635 (patch) | |
tree | 8989d8123c1b025c75890fbb594dc2aa13a2b9b3 | |
parent | d4ce47e7fb6af53fd0460052100382c728b58566 (diff) | |
download | jemalloc-17c4b8de5f4ef2732dfa83cbc86e2cf112f48635.zip jemalloc-17c4b8de5f4ef2732dfa83cbc86e2cf112f48635.tar.gz jemalloc-17c4b8de5f4ef2732dfa83cbc86e2cf112f48635.tar.bz2 |
Fix -Wundef in _MSC_VER check.
-rw-r--r-- | include/jemalloc/jemalloc_macros.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/jemalloc_macros.h.in b/include/jemalloc/jemalloc_macros.h.in index 129240e..673ffd9 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) |