Title: [277474] branches/safari-612.1.15-branch/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h
Revision
277474
Author
[email protected]
Date
2021-05-13 18:48:25 -0700 (Thu, 13 May 2021)

Log Message

Unreviewed build fix. rdar://problem/77992162

Modified Paths


Diff

Modified: branches/safari-612.1.15-branch/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h (277473 => 277474)


--- branches/safari-612.1.15-branch/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h	2021-05-14 01:30:07 UTC (rev 277473)
+++ branches/safari-612.1.15-branch/Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h	2021-05-14 01:48:25 UTC (rev 277474)
@@ -38,6 +38,11 @@
 
 #if USE(APPLE_INTERNAL_SDK)
 
+// FIXME (77983361): Remove this workaround when <rdar://problem/77977216> is fixed.
+#if defined(NDEBUG) && NDEBUG
+#define WK_NDEBUG 1
+#endif
+
 #include <CoreGraphics/CGContextDelegatePrivate.h>
 #include <CoreGraphics/CGFontCache.h>
 #include <CoreGraphics/CGPathPrivate.h>
@@ -44,6 +49,11 @@
 #include <CoreGraphics/CoreGraphicsPrivate.h>
 #include <CoreGraphics/CGStylePrivate.h>
 
+#if defined(WK_NDEBUG) && !defined(NDEBUG)
+#define NDEBUG 1
+#undef WK_NDEBUG
+#endif
+
 #if PLATFORM(MAC)
 #include <ColorSync/ColorSyncPriv.h>
 #include <CoreGraphics/CGAccessibility.h>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to