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


Ignore:
Timestamp:
Oct 22, 2008, 9:47:02 AM (17 years ago)
Author:
[email protected]
Message:

2008-10-22 Darin Fisher <[email protected]>

Reviewed by Eric Seidel.

Should not define PLATFORM(WIN,MAC,GTK) when PLATFORM(CHROMIUM) is defined
https://bugs.webkit.org/show_bug.cgi?id=21757

PLATFORM(CHROMIUM) implies HAVE_ACCESSIBILITY

  • wtf/Platform.h:
File:
1 edited

Legend:

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

    r37734 r37783  
    9292#endif
    9393
     94/* Operating environments */
     95
    9496/* PLATFORM(CHROMIUM) */
    95 #if defined(BUILDING_CHROMIUM__)
    96 #define WTF_PLATFORM_CHROMIUM 1
    97 #endif
    98 
    99 /* Operating environments */
    100 
    10197/* PLATFORM(QT) */
    10298/* PLATFORM(GTK) */
    10399/* PLATFORM(MAC) */
    104100/* PLATFORM(WIN) */
    105 #if defined(BUILDING_QT__)
     101#if defined(BUILDING_CHROMIUM__)
     102#define WTF_PLATFORM_CHROMIUM 1
     103#elif defined(BUILDING_QT__)
    106104#define WTF_PLATFORM_QT 1
    107105
     
    282280#endif
    283281
    284 #if PLATFORM(MAC) || PLATFORM(WIN) || PLATFORM(GTK)
     282#if PLATFORM(MAC) || PLATFORM(WIN) || PLATFORM(GTK) || PLATFORM(CHROMIUM)
    285283#define HAVE_ACCESSIBILITY 1
    286284#endif
Note: See TracChangeset for help on using the changeset viewer.