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


Ignore:
Timestamp:
Apr 5, 2010, 5:55:17 PM (15 years ago)
Author:
[email protected]
Message:

2010-04-05 Laszlo Gombos <Laszlo Gombos>

Reviewed by Kenneth Rohde Christiansen.

[Symbian] Consolidate Symbian WINSCW environment configuration
https://bugs.webkit.org/show_bug.cgi?id=37100

Move the "undefinition" of WIN32 and _WIN32 from WebCore/config.h
to JavaScriptCore/wtf/Platform.h as it is not specific to WebCore.

PLATFORM(WIN) and OS(WIN) no longer needs to be undefined as
undefining WIN32 takes care of it.

  • wtf/Platform.h:

2010-04-05 Laszlo Gombos <Laszlo Gombos>

Reviewed by Kenneth Rohde Christiansen.

[Symbian] Consolidate Symbian WINSCW environment configuration
https://bugs.webkit.org/show_bug.cgi?id=37100

Move the "undefinition" of WIN32 and _WIN32 from WebCore/config.h
to JavaScriptCore/wtf/Platform.h as it is not specific to WebCore.

No new tests as there is no new functionality.

  • config.h:
File:
1 edited

Legend:

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

    r57025 r57108  
    9292#if defined(__WINSCW__)
    9393#define WTF_COMPILER_WINSCW 1
     94/* cross-compiling, it is not really windows */
     95#undef WIN32
     96#undef _WIN32
    9497#endif
    9598
     
    398401/* OS(SYMBIAN) - Symbian */
    399402#if defined (__SYMBIAN32__)
    400 /* we are cross-compiling, it is not really windows */
    401 #undef WTF_OS_WINDOWS
    402 #undef WTF_PLATFORM_WIN
    403403#define WTF_OS_SYMBIAN 1
    404404#endif
Note: See TracChangeset for help on using the changeset viewer.