From 17c4b8de5f4ef2732dfa83cbc86e2cf112f48635 Mon Sep 17 00:00:00 2001 From: Josh Gao Date: Thu, 15 Sep 2016 14:33:28 -0700 Subject: [PATCH] Fix -Wundef in _MSC_VER check. --- include/jemalloc/jemalloc_macros.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)