Differences From Artifact [a403eb4800]:
- File src/OFStreamSocket.h — part of check-in [da6b3d26cb] at 2011-01-01 20:19:54 on branch trunk — Change license. (user: js, size: 972) [annotate] [blame] [check-ins using]
To Artifact [c9f65fae9e]:
- File src/OFStreamSocket.h — part of check-in [8ba403b013] at 2011-03-25 02:51:10 on branch trunk — Work around a bug in gcc 4.4.4 (possibly only in Haiku). (user: js, size: 1138) [annotate] [blame] [check-ins using]
︙ | |||
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | + + + + | @public #ifndef _WIN32 int sock; #else SOCKET sock; #endif BOOL listening; /* Work around a bug in gcc 4.4.4 (possibly only on Haiku) */ #if !defined(__GNUC__) || __GNUC__ != 4 || __GNUC_MINOR__ != 4 || \ __GNUC_PATCHLEVEL__ != 4 @protected #endif BOOL eos; } /** * \return A new autoreleased OFTCPSocket */ + socket; @end |