Title: [177134] trunk/Source/WebCore
Revision
177134
Author
[email protected]
Date
2014-12-10 23:37:20 -0800 (Wed, 10 Dec 2014)

Log Message

Fix the build.

* html/canvas/WebGLDrawBuffers.cpp:
Yosemite is 101000, not 10100.
Also, __MAC_OS_X_VERSION_MIN_REQUIRED is only defined for PLATFORM(MAC).

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (177133 => 177134)


--- trunk/Source/WebCore/ChangeLog	2014-12-11 07:22:57 UTC (rev 177133)
+++ trunk/Source/WebCore/ChangeLog	2014-12-11 07:37:20 UTC (rev 177134)
@@ -1,3 +1,11 @@
+2014-12-10  Timothy Horton  <[email protected]>
+
+        Fix the build.
+
+        * html/canvas/WebGLDrawBuffers.cpp:
+        Yosemite is 101000, not 10100.
+        Also, __MAC_OS_X_VERSION_MIN_REQUIRED is only defined for PLATFORM(MAC).
+
 2014-12-10  Zalan Bujtas  <[email protected]>
 
         Continuously repainting large parts of Huffington Post.

Modified: trunk/Source/WebCore/html/canvas/WebGLDrawBuffers.cpp (177133 => 177134)


--- trunk/Source/WebCore/html/canvas/WebGLDrawBuffers.cpp	2014-12-11 07:22:57 UTC (rev 177133)
+++ trunk/Source/WebCore/html/canvas/WebGLDrawBuffers.cpp	2014-12-11 07:37:20 UTC (rev 177134)
@@ -46,7 +46,7 @@
     return WebGLExtension::WebGLDrawBuffersName;
 }
 
-#if OS(DARWIN) && __MAC_OS_X_VERSION_MIN_REQUIRED < 10100
+#if PLATFORM(IOS) || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101000)
 
 bool WebGLDrawBuffers::supported(WebGLRenderingContext*)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to