Overview
Comment: | OFThread.m: Move #ifdefs.
The reason is that the symbol nanosleep is available now on Win32, but |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
bd2389b6b88adc022df36aa6810efea4 |
User & Date: | js on 2013-11-30 19:53:16 |
Other Links: | manifest | tags |
Context
2013-11-30
| ||
19:53 | OFObject: Make _isa private. check-in: cb6a61527a user: js tags: trunk | |
19:53 | OFThread.m: Move #ifdefs. check-in: bd2389b6b8 user: js tags: trunk | |
2013-11-26
| ||
10:25 | runtime: Free runtime created selectors at exit. check-in: 0ede45ce93 user: js tags: trunk | |
Changes
Modified src/OFDeflateStream.m from [926d013687] to [35c21266ac].
︙ | |||
46 47 48 49 50 51 52 | 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | - + | #define WRITE_VALUE OF_DEFLATE_STREAM_WRITE_VALUE #define AWAIT_LENGTH_EXTRA_BITS OF_DEFLATE_STREAM_AWAIT_LENGTH_EXTRA_BITS #define AWAIT_DISTANCE OF_DEFLATE_STREAM_AWAIT_DISTANCE #define AWAIT_DISTANCE_EXTRA_BITS OF_DEFLATE_STREAM_AWAIT_DISTANCE_EXTRA_BITS #define PROCESS_PAIR OF_DEFLATE_STREAM_PROCESS_PAIR #define BUFFER_SIZE OF_DEFLATE_STREAM_BUFFER_SIZE |
︙ |
Modified src/OFThread.m from [b35e0e98a2] to [b5e162fd36].
︙ | |||
171 172 173 174 175 176 177 | 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 | + + + + + - + - + - - - - - | #endif + (void)sleepForTimeInterval: (double)seconds { if (seconds < 0) @throw [OFOutOfRangeException exception]; #if defined(_WIN32) if (seconds * 1000 > UINT_MAX) @throw [OFOutOfRangeException exception]; Sleep((unsigned int)(seconds * 1000)); |
︙ |
Modified src/macros.h from [9204081dd6] to [1065db52e2].
︙ | |||
342 343 344 345 346 347 348 | 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 | - + | #define OF_ROL(value, bits) \ (((value) << ((bits) % (sizeof(value) * 8))) | \ ((value) >> (sizeof(value) * 8 - ((bits) % (sizeof(value) * 8))))) #define OF_ROR(value, bits) \ (((value) >> ((bits) % (sizeof(value) * 8))) | \ ((value) << (sizeof(value) * 8 - ((bits) % (sizeof(value) * 8))))) |
︙ |