mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Make the new protocol optional for clang by protecting the definition
the same way as in NSNetServices.h git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34134 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e0f7a690d5
commit
ce8663684e
1 changed files with 6 additions and 0 deletions
|
@ -190,6 +190,12 @@ GS_EXPORT NSString* const NSXMLParserErrorDomain;
|
|||
* This is now a formal protocol.
|
||||
*/
|
||||
@protocol NSXMLParserDelegate <NSObject>
|
||||
#ifdef __clang__
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
@interface NSObject (NSXMLParserDelegateEventAdditions)
|
||||
#endif
|
||||
|
||||
/** <override-dummy />
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue