Overview
Comment: | Work around a bug in gcc 4.4.4 (possibly only in Haiku). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8ba403b013f433a04c336ab569d65c40 |
User & Date: | js on 2011-03-25 02:51:10 |
Other Links: | manifest | tags |
Context
2011-03-25
| ||
02:52 | Add Haiku to PLATFORMS. check-in: 0dc253f076 user: js tags: trunk | |
02:51 | Work around a bug in gcc 4.4.4 (possibly only in Haiku). check-in: 8ba403b013 user: js tags: trunk | |
01:56 |
Link against -lnetwork if available. Haiku requires this. check-in: 83afc487f8 user: js tags: trunk | |
Changes
Modified src/OFStream.h from [74be59fb41] to [24a5771adb].
︙ | ︙ | |||
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | * does all the caching and other stuff. If you override these methods without * the _ prefix, you *WILL* break caching and get broken results! */ @interface OFStream: OFObject { @public char *cache; @protected char *wBuffer; size_t cacheLen, wBufferLen; BOOL buffersWrites; BOOL isBlocking; } #ifdef OF_HAVE_PROPERTIES | > > > > | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | * does all the caching and other stuff. If you override these methods without * the _ prefix, you *WILL* break caching and get broken results! */ @interface OFStream: OFObject { @public char *cache; /* 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 char *wBuffer; size_t cacheLen, wBufferLen; BOOL buffersWrites; BOOL isBlocking; } #ifdef OF_HAVE_PROPERTIES |
︙ | ︙ |
Modified src/OFStreamSocket.h from [a403eb4800] to [c9f65fae9e].
︙ | ︙ | |||
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | @public #ifndef _WIN32 int sock; #else SOCKET sock; #endif BOOL listening; @protected BOOL eos; } /** * \return A new autoreleased OFTCPSocket */ + socket; @end | > > > > | 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 |