--- a/ortools/constraint_solver/constraint_solveri.h 2026-01-09 13:10:50.000000000 +0100 +++ b/ortools/constraint_solver/constraint_solveri.h 2026-10-19 18:09:02.385505065 +0200 @@ -251,8 +251,7 @@ inline uint64_t Hash1(int64_t value) { inline uint64_t Hash1(int value) { return Hash1(static_cast(value)); } inline uint64_t Hash1(void* const ptr) { -#if defined(__x86_64__) || defined(_M_X64) || defined(__powerpc64__) || \ - defined(__aarch64__) || (defined(_MIPS_SZPTR) && (_MIPS_SZPTR == 64)) +#if UINTPTR_MAX == UINT64_MAX return Hash1(reinterpret_cast(ptr)); #else return Hash1(reinterpret_cast(ptr));