Title: [176838] trunk/Source/WebCore
Revision
176838
Author
[email protected]
Date
2014-12-04 23:46:11 -0800 (Thu, 04 Dec 2014)

Log Message

Fix pre-Yosemite builds.

The #ifs in two SPI wrapper headers were incorrect, resulting in code being included
prior to Yosemite that required Yosemite to compile.

* platform/spi/mac/NSSharingServicePickerSPI.h:
* platform/spi/mac/NSSharingServiceSPI.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (176837 => 176838)


--- trunk/Source/WebCore/ChangeLog	2014-12-05 06:58:04 UTC (rev 176837)
+++ trunk/Source/WebCore/ChangeLog	2014-12-05 07:46:11 UTC (rev 176838)
@@ -1,3 +1,13 @@
+2014-12-04  Mark Rowe  <[email protected]>
+
+        Fix pre-Yosemite builds.
+
+        The #ifs in two SPI wrapper headers were incorrect, resulting in code being included
+        prior to Yosemite that required Yosemite to compile.
+
+        * platform/spi/mac/NSSharingServicePickerSPI.h:
+        * platform/spi/mac/NSSharingServiceSPI.h:
+
 2014-12-02  Brian J. Burg  <[email protected]>
 
         Web Inspector: timeline probe records have inaccurate per-probe hit counts

Modified: trunk/Source/WebCore/platform/spi/mac/NSSharingServicePickerSPI.h (176837 => 176838)


--- trunk/Source/WebCore/platform/spi/mac/NSSharingServicePickerSPI.h	2014-12-05 06:58:04 UTC (rev 176837)
+++ trunk/Source/WebCore/platform/spi/mac/NSSharingServicePickerSPI.h	2014-12-05 07:46:11 UTC (rev 176838)
@@ -23,8 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if USE(APPLE_INTERNAL_SDK) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
+#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
 
+#if USE(APPLE_INTERNAL_SDK)
+
 #import <AppKit/NSSharingService_Private.h>
 
 #else
@@ -44,3 +46,5 @@
 @end
 
 #endif
+
+#endif

Modified: trunk/Source/WebCore/platform/spi/mac/NSSharingServiceSPI.h (176837 => 176838)


--- trunk/Source/WebCore/platform/spi/mac/NSSharingServiceSPI.h	2014-12-05 06:58:04 UTC (rev 176837)
+++ trunk/Source/WebCore/platform/spi/mac/NSSharingServiceSPI.h	2014-12-05 07:46:11 UTC (rev 176838)
@@ -23,8 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if USE(APPLE_INTERNAL_SDK) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
+#if  __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000
 
+#if USE(APPLE_INTERNAL_SDK)
+
 #import <AppKit/NSSharingService_Private.h>
 
 #else
@@ -52,3 +54,5 @@
 @end
 
 #endif
+
+#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to