Ignore:
Timestamp:
Oct 9, 2008, 9:34:30 PM (17 years ago)
Author:
[email protected]
Message:

Tiger build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/WebKitAvailability.h

    r35854 r37471  
    5959   declared in a category.  If we are building with one of these versions, we need to omit the attribute.  We achieve this
    6060   by wrapping the annotation in WEBKIT_CATEGORY_METHOD_ANNOTATION, which will remove the annotation when an old version
    61    of GCC is in use and will otherwise expand to the annotation.
     61   of GCC is in use and will otherwise expand to the annotation. The same is needed for protocol methods.
    6262*/
    6363#if defined(__APPLE_CC__) && __APPLE_CC__ < 5400
    6464    #define WEBKIT_CATEGORY_METHOD_ANNOTATION(ANNOTATION)
     65    #define WEBKIT_PROTOCOL_METHOD_ANNOTATION(ANNOTATION)
    6566#else
    6667    #define WEBKIT_CATEGORY_METHOD_ANNOTATION(ANNOTATION) ANNOTATION
     68    #define WEBKIT_PROTOCOL_METHOD_ANNOTATION(ANNOTATION) ANNOTATION
    6769#endif
    6870
Note: See TracChangeset for help on using the changeset viewer.