Unreviewed, wrokaround for MACH_VM_MAX_ADDRESS in ARM32_64
[WebKit-https.git] / Source / WTF / wtf / WTFAssertions.cpp
index 55f8119..c4a2aa3 100644 (file)
@@ -48,7 +48,7 @@ static_assert(sizeof(RefPtr<DummyStruct>) == sizeof(DummyStruct*), "");
 
 static_assert(sizeof(RefCountedArray<DummyStruct>) == sizeof(void*), "");
 
-#if OS(DARWIN)
+#if OS(DARWIN) && CPU(ADDRESS64)
 static_assert(MACH_VM_MAX_ADDRESS <= ((1ULL << WTF_CPU_EFFECTIVE_ADDRESS_WIDTH) - 1));
 #endif