Fix -Wundef in _MSC_VER check.

This commit is contained in:
Josh Gao 2016-09-15 14:33:28 -07:00 committed by GitHub
parent d4ce47e7fb
commit 17c4b8de5f

View File

@ -37,7 +37,7 @@
# define JEMALLOC_CXX_THROW # define JEMALLOC_CXX_THROW
#endif #endif
#if _MSC_VER #if defined(_MSC_VER)
# define JEMALLOC_ATTR(s) # define JEMALLOC_ATTR(s)
# define JEMALLOC_ALIGNED(s) __declspec(align(s)) # define JEMALLOC_ALIGNED(s) __declspec(align(s))
# define JEMALLOC_ALLOC_SIZE(s) # define JEMALLOC_ALLOC_SIZE(s)