remove redundant incs of xxhash - undef cpuid macro before xxhash is

included, so that we don't have conflicting definitions due to memfun
This commit is contained in:
Ryan Fleury committed 2026-06-22 13:43:19 -07:00
1 parent 28d037a924
commit e2430fa23e
6 files changed
+6 -35

No files matched your search

+3
View File
@@ -3240,12 +3240,15 @@ str8_buffer_write_string_list(String8Node *buf, U64 *pos, String8List list)
////////////////////////////////
//~ rjf: Basic String Hashes
#pragma push_macro("__cpuid")
#undef __cpuid
#if !defined(XXH_IMPLEMENTATION)
# define XXH_INLINE_ALL
# define XXH_IMPLEMENTATION
# define XXH_STATIC_LINKING_ONLY
# include "third_party/xxHash/xxhash.h"
#endif
#pragma pop_macro("__cpuid")
internal U64
u64_hash_from_seed_str8(U64 seed, String8 string)