Changeset 48685 in webkit for trunk/JavaScriptCore/wtf/Platform.h


Ignore:
Timestamp:
Sep 23, 2009, 3:03:05 PM (16 years ago)
Author:
[email protected]
Message:

Move definition of USE(PLUGIN_HOST_PROCESS) from WebKitPrefix.h to Platform.h

Reviewed by Mark Rowe.

JavaScriptCore:

  • wtf/Platform.h: Define WTF_USE_PLUGIN_HOST_PROCESS to 1 when building on 64-bit SnowLeopard. Define to 0 elsewhere.

WebKit/mac:

  • WebKitPrefix.h: Removed definition of WTF_USE_PLUGIN_HOST_PROCESS.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/Platform.h

    r48609 r48685  
    408408#define WTF_PLATFORM_CF 1
    409409#define WTF_USE_PTHREADS 1
     410#if !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_TIGER) && defined(__x86_64__)
     411#define WTF_USE_PLUGIN_HOST_PROCESS 1
     412#endif
    410413#if !defined(ENABLE_MAC_JAVA_BRIDGE)
    411414#define ENABLE_MAC_JAVA_BRIDGE 1
     
    416419#define HAVE_READLINE 1
    417420#define HAVE_RUNLOOP_TIMER 1
    418 #endif
     421#endif // PLATFORM(MAC) && !PLATFORM(IPHONE)
    419422
    420423#if PLATFORM(CHROMIUM) && PLATFORM(DARWIN)
     
    594597#if !defined(ENABLE_NETSCAPE_PLUGIN_API)
    595598#define ENABLE_NETSCAPE_PLUGIN_API 1
     599#endif
     600
     601#if !defined(WTF_USE_PLUGIN_HOST_PROCESS)
     602#define WTF_USE_PLUGIN_HOST_PROCESS 0
    596603#endif
    597604
Note: See TracChangeset for help on using the changeset viewer.