Tried to fix the pre-High Sierra USE(APPLE_INTERNAL_SDK) build
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 May 2018 05:04:16 +0000 (05:04 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 May 2018 05:04:16 +0000 (05:04 +0000)
* pal/spi/cg/CoreGraphicsSPI.h: #undef confirm, which is defined by ApplicationServicesPriv.h.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232238 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/spi/cg/CoreGraphicsSPI.h

index 0bf6b55..25f0265 100644 (file)
@@ -1,5 +1,11 @@
 2018-05-27  Dan Bernstein  <mitz@apple.com>
 
+        Tried to fix the pre-High Sierra USE(APPLE_INTERNAL_SDK) build
+
+        * pal/spi/cg/CoreGraphicsSPI.h: #undef confirm, which is defined by ApplicationServicesPriv.h.
+
+2018-05-27  Dan Bernstein  <mitz@apple.com>
+
         Tried to fix the 32-bit USE(APPLE_INTERNAL_SDK) build.
 
         * pal/spi/mac/QuickDrawSPI.h: Import ApplicationServicesPriv.h instead of QuickDrawPriv.h.
index 3425658..01f416c 100644 (file)
@@ -47,6 +47,9 @@
 #include <ColorSync/ColorSyncPriv.h>
 #else
 #include <ApplicationServices/ApplicationServicesPriv.h>
+#ifdef confirm
+#undef confirm
+#endif
 #endif
 #endif
 #include <CoreGraphics/CGFontCache.h>