Commit 8459e11a by Rose

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.
parent bd624d9f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment