diff options
author | Rose <83477269+AtariDreams@users.noreply.github.com> | 2023-02-21 09:32:30 -0500 |
---|---|---|
committer | Rose <83477269+AtariDreams@users.noreply.github.com> | 2023-02-21 09:45:43 -0500 |
commit | 8459e11a508162d02000420f3ced5814a5743c08 (patch) | |
tree | 2dca996ba993fd4c976eec88d677902ff71416e9 /absl | |
parent | bd624d9f9825f76f14453beb3df81d82b9e17062 (diff) |
Remove check for apple_build_version for hash workaround
Apple's clang fork has the missing commit now, and we can safely use the above codepath.
Diffstat (limited to 'absl')
-rw-r--r-- | absl/hash/internal/hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/hash/internal/hash.h b/absl/hash/internal/hash.h index eb50e2c7..f81b81bf 100644 --- a/absl/hash/internal/hash.h +++ b/absl/hash/internal/hash.h @@ -1136,7 +1136,7 @@ class ABSL_DLL MixingHashState : public HashStateBase<MixingHashState> { // probably per-build and not per-process. ABSL_ATTRIBUTE_ALWAYS_INLINE static uint64_t Seed() { #if (!defined(__clang__) || __clang_major__ > 11) && \ - !defined(__apple_build_version__) + (!defined(__apple_build_version__) || __apple_build_version__ >= 19558921) // Xcode 12 return static_cast<uint64_t>(reinterpret_cast<uintptr_t>(&kSeed)); #else // Workaround the absence of |