Changeset 52706 in webkit
- Timestamp:
- Jan 3, 2010 11:40:03 PM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r52637 r52706 1 2010-01-03 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Eric Seidel. 4 5 Update wtf/Platform.h to document the new system for porting macros. 6 https://bugs.webkit.org/show_bug.cgi?id=33130 7 8 * wtf/Platform.h: 9 1 10 2009-12-29 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 11 -
trunk/JavaScriptCore/wtf/Platform.h
r52637 r52706 28 28 #define WTF_Platform_h 29 29 30 /* PLATFORM handles OS, operating environment, graphics API, and CPU */ 30 /* PLATFORM handles OS, operating environment, graphics API, and 31 CPU. This macro will be phased out in favor of platform adaptation 32 macros, policy decision macros, and top-level port definitions. */ 31 33 #define PLATFORM(WTF_FEATURE) (defined WTF_PLATFORM_##WTF_FEATURE && WTF_PLATFORM_##WTF_FEATURE) 34 35 /* == Platform adaptation macros: these describe properties of the target environment. */ 36 37 /* COMPILER() - the compiler being used to build the project */ 32 38 #define COMPILER(WTF_FEATURE) (defined WTF_COMPILER_##WTF_FEATURE && WTF_COMPILER_##WTF_FEATURE) 39 /* CPU() - the target CPU architecture */ 40 #define CPU(WTF_FEATURE) (defined WTF_CPU_##WTF_FEATURE && WTF_CPU_##WTF_FEATURE) 41 /* HAVE() - specific system features (headers, functions or similar) that are present or not */ 33 42 #define HAVE(WTF_FEATURE) (defined HAVE_##WTF_FEATURE && HAVE_##WTF_FEATURE) 43 /* OS() - underlying operating system; only to be used for mandated low-level services like 44 virtual memory, not to choose a GUI toolkit */ 45 #define OS(WTF_FEATURE) (defined WTF_OS_##WTF_FEATURE && WTF_OS_##WTF_FEATURE) 46 47 /* == Policy decision macros: these define policy choices for a particular port. */ 48 /* USE() - use a particular third-party library or optional OS service */ 34 49 #define USE(WTF_FEATURE) (defined WTF_USE_##WTF_FEATURE && WTF_USE_##WTF_FEATURE) 50 /* ENABLE() - turn on a specific feature of WebKit */ 35 51 #define ENABLE(WTF_FEATURE) (defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATURE) 36 52
Note: See TracChangeset
for help on using the changeset viewer.