Fix address NO_SANITIZE macro for Clang

- Oops. In fixing it for GCC (since it doesn't like
  __has_feature(address_sanitizer), I broke it for Clang.
This commit is contained in:
Randy Heit 2016-02-05 18:05:27 -06:00
parent 501af18168
commit 4fb65d74fd

View file

@ -114,7 +114,7 @@ typedef TMap<int, PClassActor *> FClassMap;
#endif #endif
#if defined(__clang__) #if defined(__clang__)
#if defined(__has_feature) && __has_feature(address_sanitizer)) #if defined(__has_feature) && __has_feature(address_sanitizer)
#define NO_SANITIZE __attribute__((no_sanitize("address"))) #define NO_SANITIZE __attribute__((no_sanitize("address")))
#else #else
#define NO_SANITIZE #define NO_SANITIZE