diff options
author | JiDe Zhang <zhangjide@uniontech.com> | 2021-05-20 16:15:00 +0800 |
---|---|---|
committer | JiDe Zhang <zhangjide@uniontech.com> | 2021-05-21 21:37:32 +0800 |
commit | b254855aa6771c48a6015271880c690f8faeb235 (patch) | |
tree | 80f99b14f081247588eaeccfdd6950a2d9c12110 /src/corelib/tools/qhash.cpp | |
parent | bf22f914410b37031acdf39ea8fef89cbbf2ca28 (diff) |
Use __has_* instead QT_HAS_*
Use __has_include instead QT_HAS_INCLUDE
Use __has_feature instead QT_HAS_FEATURE
Change-Id: If9b0af1f4386f7bcae6ca2fb911ffaba422750dd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/tools/qhash.cpp')
-rw-r--r-- | src/corelib/tools/qhash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp index 46917cfbe9..39f5ded796 100644 --- a/src/corelib/tools/qhash.cpp +++ b/src/corelib/tools/qhash.cpp @@ -389,7 +389,7 @@ static uint siphash(const uint8_t *in, uint inlen, const uint seed) #if defined(__SANITIZE_ADDRESS__) || defined(__SANITIZE_THREAD__) // GCC # define QHASH_AES_SANITIZER_BUILD -#elif QT_HAS_FEATURE(address_sanitizer) || QT_HAS_FEATURE(thread_sanitizer) // Clang +#elif __has_feature(address_sanitizer) || __has_feature(thread_sanitizer) // Clang # define QHASH_AES_SANITIZER_BUILD #endif |