Title: [191775] trunk/Source/_javascript_Core
Revision
191775
Author
commit-qu...@webkit.org
Date
2015-10-29 21:30:26 -0700 (Thu, 29 Oct 2015)

Log Message

[GTK][Mac] disable OBJC JSC API
https://bugs.webkit.org/show_bug.cgi?id=150500

Patch by Philippe Normand <pnorm...@igalia.com> on 2015-10-29
Reviewed by Alex Christensen.

* API/JSBase.h: Disable the Objective-C API on Mac for the GTK port.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/API/JSBase.h (191774 => 191775)


--- trunk/Source/_javascript_Core/API/JSBase.h	2015-10-30 04:15:58 UTC (rev 191774)
+++ trunk/Source/_javascript_Core/API/JSBase.h	2015-10-30 04:30:26 UTC (rev 191775)
@@ -136,7 +136,7 @@
 
 /* Enable the Objective-C API for platforms with a modern runtime. */
 #if !defined(JSC_OBJC_API_ENABLED)
-#define JSC_OBJC_API_ENABLED (defined(__clang__) && defined(__APPLE__) && ((defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 && !defined(__i386__)) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)))
+#define JSC_OBJC_API_ENABLED (defined(__clang__) && defined(__APPLE__) && !defined(BUILDING_GTK__) && ((defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 && !defined(__i386__)) || (defined(TARGET_OS_IPHONE) && TARGET_OS_IPHONE)))
 #endif
 
 #endif /* JSBase_h */

Modified: trunk/Source/_javascript_Core/ChangeLog (191774 => 191775)


--- trunk/Source/_javascript_Core/ChangeLog	2015-10-30 04:15:58 UTC (rev 191774)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-10-30 04:30:26 UTC (rev 191775)
@@ -1,3 +1,12 @@
+2015-10-29  Philippe Normand  <pnorm...@igalia.com>
+
+        [GTK][Mac] disable OBJC JSC API
+        https://bugs.webkit.org/show_bug.cgi?id=150500
+
+        Reviewed by Alex Christensen.
+
+        * API/JSBase.h: Disable the Objective-C API on Mac for the GTK port.
+
 2015-10-29  Filip Pizlo  <fpi...@apple.com>
 
         Air::handleCalleeSaves shouldn't save/restore the frame pointer
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to