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:
parent
e1a6c17251
commit
a4449da43c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user