Ignore:
Timestamp:
Mar 17, 2009, 9:06:35 AM (16 years ago)
Author:
[email protected]
Message:

Reviewed by Mark Rowe.

Move BUILDING_ON_* defines into Platform.h to make them available to other ports.
Also tweak the defines so that they work with the default values set by
AvailabilityMacros.h.

https://bugs.webkit.org/show_bug.cgi?id=24630

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCorePrefix.h

    r41728 r41764  
    2626#endif
    2727
    28 #if defined(__APPLE__)
    29 #import <AvailabilityMacros.h>
    30 #if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
    31 #define BUILDING_ON_TIGER 1
    32 #elif MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5
    33 #define BUILDING_ON_LEOPARD 1
    34 #endif
    35 #endif
    36 
    3728#ifdef __cplusplus
    3829#define new ("if you use new/delete make sure to include config.h at the top of the file"())
Note: See TracChangeset for help on using the changeset viewer.