mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +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
|
#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
|
||||||
|
|
Loading…
Reference in a new issue