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


Ignore:
Timestamp:
Nov 13, 2008, 10:09:22 AM (17 years ago)
Author:
[email protected]
Message:

2008-11-13 Mike Pinkerton <[email protected]>

Reviewed by Sam Weinig.

Fix for https://bugs.webkit.org/show_bug.cgi?id=22087
Need correct platform defines for Mac Chromium

Set the appropriate platform defines for Mac Chromium, which is
similar to PLATFORM(MAC), but isn't.

  • wtf/Platform.h:
File:
1 edited

Legend:

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

    r38172 r38372  
    137137#endif
    138138
    139 /* PLATFORM(SKIA) */
     139/* PLATFORM(SKIA) for Win/Linux, CG/CI for Mac */
    140140#if PLATFORM(CHROMIUM)
     141#if PLATFORM(DARWIN)
     142#define WTF_PLATFORM_CG 1
     143#define WTF_PLATFORM_CI 1
     144#define WTF_USE_ATSUI 1
     145#else
    141146#define WTF_PLATFORM_SKIA 1
     147#endif
    142148#endif
    143149
     
    276282#endif
    277283
     284#if PLATFORM(CHROMIUM) && PLATFORM(DARWIN)
     285#define WTF_PLATFORM_CF 1
     286#define WTF_USE_PTHREADS 1
     287#endif
     288
    278289#if PLATFORM(WIN)
    279290#define WTF_USE_WININET 1
Note: See TracChangeset for help on using the changeset viewer.