Ensure __has_feature is defined in test/support/count_new.hpp

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@227263 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier 2015-01-27 23:03:38 +00:00
parent e1a6c17251
commit a4449da43c

View File

@ -5,6 +5,10 @@
# include <cassert>
# include <new>
#ifndef __has_feature
# define __has_feature(x)
#endif
#if __has_feature(address_sanitizer) \
|| __has_feature(memory_sanitizer)
#define DISABLE_NEW_COUNT