mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
several macros added to properly support protocols containing @optional
also on GCC >= 4.6 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37525 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6dd4f6fba1
commit
64d6268f40
7 changed files with 44 additions and 25 deletions
|
@ -190,7 +190,7 @@ GS_EXPORT NSString* const NSXMLParserErrorDomain;
|
|||
* This is now a formal protocol.
|
||||
*/
|
||||
@protocol NSXMLParserDelegate <NSObject>
|
||||
#ifdef __clang__ /* FIXME ... this is not clang specific */
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6,GS_API_LATEST) && GS_PROTOCOLS_HAVE_OPTIONAL
|
||||
@optional
|
||||
#else
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue