From 4afc16838f72b94ac1c73da6a8b215bebce30037 Mon Sep 17 00:00:00 2001 From: Konstantin Tokarev Date: Wed, 15 Jun 2016 16:20:43 +0300 Subject: Only Mac port needs ObjC API for JSC. Change-Id: I32d6029139ac5b8118c3a350b68d6e55c8093a1a Reviewed-by: Allan Sandfeld Jensen --- Source/WTF/wtf/FeatureDefines.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Source/WTF/wtf/FeatureDefines.h b/Source/WTF/wtf/FeatureDefines.h index 7329c95f5..e1007923c 100644 --- a/Source/WTF/wtf/FeatureDefines.h +++ b/Source/WTF/wtf/FeatureDefines.h @@ -188,6 +188,15 @@ #endif /* PLATFORM(MAC) && !PLATFORM(IOS) */ +#if !PLATFORM(MAC) + +#if !defined(JSC_OBJC_API_ENABLED) +#define JSC_OBJC_API_ENABLED 0 +#endif + +#endif /* !PLATFORM(MAC) */ + + /* --------- Apple Windows port --------- */ #if PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(WIN_CAIRO) -- cgit v1.2.1