Index: Source/wtf/Assertions.h |
diff --git a/Source/wtf/Assertions.h b/Source/wtf/Assertions.h |
index 8f7f2aeaf44d8bc26a1538fc04a1ce0c58726681..73fc317c6c5c2880275b8cc3bc2aa777acae5fc9 100644 |
--- a/Source/wtf/Assertions.h |
+++ b/Source/wtf/Assertions.h |
@@ -57,6 +57,7 @@ |
#ifndef ASSERT_DISABLED |
#define ASSERT_DISABLED ASSERTIONS_DISABLED_DEFAULT |
#endif |
+#define ASSERT_ENABLED !ASSERT_DISABLED |
#ifndef ASSERT_MSG_DISABLED |
#define ASSERT_MSG_DISABLED ASSERTIONS_DISABLED_DEFAULT |
@@ -237,7 +238,7 @@ WTF_EXPORT void WTFInstallReportBacktraceOnCrashHook(); |
#endif |
-#if defined(ADDRESS_SANITIZER) || !ASSERT_DISABLED |
+#if defined(ADDRESS_SANITIZER) || ASSERT_ENABLED |
#define SECURITY_ASSERT_ENABLED 1 |
#else |
#define SECURITY_ASSERT_ENABLED 0 |