mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
32a9c4c1dd
commit
0805c455d0
2 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue