mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-01 12:43:47 +00:00
Ensure __has_feature is defined in test/support/count_new.hpp
llvm-svn: 227263
This commit is contained in:
parent
4016f78dbd
commit
5a4ee414d8
@ -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