compatibility tweak from #40925

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37476 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2013-12-20 10:01:16 +00:00
parent 32a9c4c1dd
commit 0805c455d0
2 changed files with 10 additions and 0 deletions

View file

@ -270,10 +270,15 @@ GS_EXPORT NSString * const NSStreamSOCKSProxyVersion4;
GS_EXPORT NSString * const NSStreamSOCKSProxyVersion5;
GS_EXPORT NSString * const NSStreamSOCKSProxyVersionKey;
#ifdef _clang_ /* FIXME ... this is not clang specific */
@protocol NSStreamDelegate <NSObject>
@optional
#else
/**
* Informal protocol for delegates of instance of the [NSStream] class.
*/
@interface NSObject (NSStreamDelegate)
#endif
- (void) stream: (NSStream*)sStream handleEvent: (NSStreamEvent)anEvent;
@end