Differences From Artifact [b5e162fd36]:
- File
src/OFThread.m
— part of check-in
[bd2389b6b8]
at
2013-11-30 19:53:16
on branch trunk
— OFThread.m: Move #ifdefs.
The reason is that the symbol nanosleep is available now on Win32, but
is part of the pthreads wrapper, which we don't use. (user: js, size: 7299) [annotate] [blame] [check-ins using]
To Artifact [d3db130196]:
- File
src/OFThread.m
— part of check-in
[a0b63a8df4]
at
2013-12-01 02:08:43
on branch trunk
— Port to DOS/DJGPP.
The port was much easier than expected. The only changes that were
required were defining the missing lrint() and useconds_t, the rest was
optional (like using backslashes for paths, even though slashes work
fine). (user: js, size: 7383) [annotate] [blame] [check-ins using]
︙ | |||
61 62 63 64 65 66 67 68 69 70 71 72 73 74 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | + + + + + | #endif #ifdef OF_HAVE_ATOMIC_OPS # import "atomic.h" #endif #import "autorelease.h" #import "macros.h" #ifdef __DJGPP__ # define lrint(x) rint(x) # define useconds_t unsigned int #endif #ifdef OF_HAVE_THREADS # import "threading.h" static of_tlskey_t threadSelfKey; static OFThread *mainThread; |
︙ |