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:
rfm 2013-12-20 10:01:16 +00:00
parent 1c6738c660
commit f92b386647
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-12-20 Marcus Müller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSStream.h: OSX compatibilityy ... use formal
protocol if possible (bug #40925).
2013-12-13 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSArray.h,

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