Title: [140988] trunk/Source/WTF
Revision
140988
Author
[email protected]
Date
2013-01-28 11:56:41 -0800 (Mon, 28 Jan 2013)

Log Message

BUILD FIX: Platform.h:1212:22: error: '__MAC_OS_X_VERSION_MIN_REQUIRED' is not defined, evaluates to 0 [-Werror,-Wundef]

This fixes the following build error introduced in r140366 for
Bug 107098:

    Platform.h:1212:22: error: '__MAC_OS_X_VERSION_MIN_REQUIRED' is not defined, evaluates to 0 [-Werror,-Wundef]
    #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 && !PLATFORM(IOS)
                         ^
    1 error generated.

* wtf/Platform.h: Check !PLATFORM(IOS) first so that iOS builds
do not try to evaluate __MAC_OS_X_VERSION_MIN_REQUIRED.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (140987 => 140988)


--- trunk/Source/WTF/ChangeLog	2013-01-28 19:38:26 UTC (rev 140987)
+++ trunk/Source/WTF/ChangeLog	2013-01-28 19:56:41 UTC (rev 140988)
@@ -1,3 +1,18 @@
+2013-01-28  David Kilzer  <[email protected]>
+
+        BUILD FIX: Platform.h:1212:22: error: '__MAC_OS_X_VERSION_MIN_REQUIRED' is not defined, evaluates to 0 [-Werror,-Wundef]
+
+        This fixes the following build error introduced in r140366 for
+        Bug 107098:
+
+            Platform.h:1212:22: error: '__MAC_OS_X_VERSION_MIN_REQUIRED' is not defined, evaluates to 0 [-Werror,-Wundef]
+            #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 && !PLATFORM(IOS)
+                                 ^
+            1 error generated.
+
+        * wtf/Platform.h: Check !PLATFORM(IOS) first so that iOS builds
+        do not try to evaluate __MAC_OS_X_VERSION_MIN_REQUIRED.
+
 2013-01-28  Adam Barth  <[email protected]>
 
         Remove webkitNotifications.createHTMLNotification

Modified: trunk/Source/WTF/wtf/Platform.h (140987 => 140988)


--- trunk/Source/WTF/wtf/Platform.h	2013-01-28 19:38:26 UTC (rev 140987)
+++ trunk/Source/WTF/wtf/Platform.h	2013-01-28 19:56:41 UTC (rev 140988)
@@ -1205,7 +1205,7 @@
 #endif
 #endif
 
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080 && !PLATFORM(IOS)
+#if !PLATFORM(IOS) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1080
 #define WTF_USE_CONTENT_FILTERING 1
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to