Skip to content

Commit e575e98

Browse files
Merge pull request #1401 from AtariDreams:apple
PiperOrigin-RevId: 511270860 Change-Id: Ib7de8c72505bf141d450f950074a27f9f4f1613c
2 parents 7a522a5 + 8459e11 commit e575e98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

absl/hash/internal/hash.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,8 @@ class ABSL_DLL MixingHashState : public HashStateBase<MixingHashState> {
11361136
// probably per-build and not per-process.
11371137
ABSL_ATTRIBUTE_ALWAYS_INLINE static uint64_t Seed() {
11381138
#if (!defined(__clang__) || __clang_major__ > 11) && \
1139-
!defined(__apple_build_version__)
1139+
(!defined(__apple_build_version__) || \
1140+
__apple_build_version__ >= 19558921) // Xcode 12
11401141
return static_cast<uint64_t>(reinterpret_cast<uintptr_t>(&kSeed));
11411142
#else
11421143
// Workaround the absence of

0 commit comments

Comments
 (0)