Tried to fix the build when targrting macOS 10.12 using the macOS 10.13 developer...
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Jun 2017 21:54:06 +0000 (21:54 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Jun 2017 21:54:06 +0000 (21:54 +0000)
* platform/spi/cocoa/IOSurfaceSPI.h:

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

Source/WebCore/ChangeLog
Source/WebCore/platform/spi/cocoa/IOSurfaceSPI.h

index 9618088..6ca8b9f 100644 (file)
@@ -1,3 +1,9 @@
+2017-06-05  Dan Bernstein  <mitz@apple.com>
+
+        Tried to fix the build when targrting macOS 10.12 using the macOS 10.13 developer beta SDK.
+
+        * platform/spi/cocoa/IOSurfaceSPI.h:
+
 2017-06-05  Konstantin Tokarev  <annulen@yandex.ru>
 
         Fix MediaPlayerPrivateMediaFoundation::naturalSize
index 9aa9905..0254396 100644 (file)
@@ -88,7 +88,7 @@ WTF_EXTERN_C_END
 
 #else
 
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101300
+#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 101300
 #import <IOSurface/IOSurfaceTypes.h>
 #else
 enum {