Changeset 35120 in webkit for trunk/JavaScriptCore/API/WebKitAvailability.h
- Timestamp:
- Jul 10, 2008, 11:10:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/WebKitAvailability.h
r33053 r35120 44 44 45 45 46 /* The versions of GCC that shipped with Xcode prior to 3.0 (GCC build number < 5400) did not support attributes on methods 47 declared in a category. If we are building with one of these versions, we need to omit the attribute. We achieve this 48 by wrapping the annotation in WEBKIT_CATEGORY_METHOD_ANNOTATION, which will remove the annotation when an old version 49 of GCC is in use and will otherwise expand to the annotation. 50 */ 51 #if defined(__APPLE_CC__) && __APPLE_CC__ < 5400 52 #define WEBKIT_CATEGORY_METHOD_ANNOTATION(ANNOTATION) 53 #else 54 #define WEBKIT_CATEGORY_METHOD_ANNOTATION(ANNOTATION) ANNOTATION 55 #endif 56 46 57 47 58 /* If minimum WebKit version is not specified, assume the version that shipped with the target Mac OS X version */
Note:
See TracChangeset
for help on using the changeset viewer.