diff options
author | Josh Gao <jmgao@google.com> | 2016-09-15 14:34:59 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-09-19 13:46:45 -0700 |
commit | 00fa4482d89786a43fb6f76d6e86996e1587e16f (patch) | |
tree | 7826761715ea9b821f5ab3df363d154cc7b8c2c8 /include | |
parent | 93ea0f5abc19aa171c424434a9bc03d922e9b47c (diff) | |
download | jemalloc-00fa4482d89786a43fb6f76d6e86996e1587e16f.tar.gz |
Fix -Wundef in _MSC_VER check.android-n-mr1-preview-2android-n-mr1-preview-1
Bug: http://b/31496165
Change-Id: Ia7acd464fd8dcc9cb88e61b4f4d369db49f5de76
Test: mma
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/jemalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/jemalloc/jemalloc.h b/include/jemalloc/jemalloc.h index 5ed13cb..c983dc8 100644 --- a/include/jemalloc/jemalloc.h +++ b/include/jemalloc/jemalloc.h @@ -127,7 +127,7 @@ extern "C" { # 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) |