Title: [229611] trunk/Source/WTF
Revision
229611
Author
[email protected]
Date
2018-03-14 13:20:20 -0700 (Wed, 14 Mar 2018)

Log Message

Fix the build after r229387
https://bugs.webkit.org/show_bug.cgi?id=183639
<rdar://problem/38448568>

Reviewed by Dean Jackson.

* wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (229610 => 229611)


--- trunk/Source/WTF/ChangeLog	2018-03-14 20:07:11 UTC (rev 229610)
+++ trunk/Source/WTF/ChangeLog	2018-03-14 20:20:20 UTC (rev 229611)
@@ -1,3 +1,13 @@
+2018-03-14  Tim Horton  <[email protected]>
+
+        Fix the build after r229387
+        https://bugs.webkit.org/show_bug.cgi?id=183639
+        <rdar://problem/38448568>
+
+        Reviewed by Dean Jackson.
+
+        * wtf/Platform.h:
+
 2018-03-13  Tim Horton  <[email protected]>
 
         Add and adopt WK_ALTERNATE_FRAMEWORKS_DIR in WTF and bmalloc

Modified: trunk/Source/WTF/wtf/Platform.h (229610 => 229611)


--- trunk/Source/WTF/wtf/Platform.h	2018-03-14 20:07:11 UTC (rev 229610)
+++ trunk/Source/WTF/wtf/Platform.h	2018-03-14 20:20:20 UTC (rev 229611)
@@ -1051,7 +1051,7 @@
 #if PLATFORM(MAC)
 #define USE_OPENGL 1
 #define USE_OPENGL_ES 0
-#elif ENABLE(MINIMAL_SIMULATOR)
+#elif ENABLE(MINIMAL_SIMULATOR) && __has_include(<OpenGL/OpenGL.h>)
 #define USE_OPENGL 1
 #define USE_OPENGL_ES 0
 #else
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to