mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
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:
parent
501af18168
commit
4fb65d74fd
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ typedef TMap<int, PClassActor *> FClassMap;
|
|||
#endif
|
||||
|
||||
#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")))
|
||||
#else
|
||||
#define NO_SANITIZE
|
||||
|
|
Loading…
Reference in a new issue