Skip to content

Commit

Permalink
Merge pull request #1401 from AtariDreams:apple
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 511270860
Change-Id: Ib7de8c72505bf141d450f950074a27f9f4f1613c
  • Loading branch information
copybara-github committed Feb 21, 2023
2 parents 7a522a5 + 8459e11 commit e575e98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion absl/hash/internal/hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,8 @@ 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
Expand Down

0 comments on commit e575e98

Please sign in to comment.