Differences From Artifact [87b40649c1]:
- File
src/OFThread.m
— part of check-in
[fe2cbe0021]
at
2018-04-22 16:13:04
on branch trunk
— runtime: Define BOOL to be the same as bool
As we define the ABI, we can just replace BOOL with bool everywhere,
including in ObjFW itself. For the Apple platforms where BOOL and bool
are different, this is not a problem as BOOL and bool are passed and
returned the same way in the ABI.This still defines BOOL to bool for compatibility, except on AmigaOS and
Wii, which both have its own BOOL type. (user: js, size: 9221) [annotate] [blame] [check-ins using]
To Artifact [6fbe74a9ed]:
- File src/OFThread.m — part of check-in [0b07c8fcfa] at 2018-04-22 17:48:40 on branch trunk — Make ObjFW compile for AmigaOS 3 (user: js, size: 9275) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
80 81 82 83 84 85 86 87 88 89 90 91 92 93 | #ifdef OF_HAVE_ATOMIC_OPS # import "atomic.h" #endif #ifdef OF_DJGPP # define lrint(x) rint(x) #endif #ifdef OF_HAVE_THREADS # import "threading.h" static of_tlskey_t threadSelfKey; static OFThread *mainThread; | > > > | 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | #ifdef OF_HAVE_ATOMIC_OPS # import "atomic.h" #endif #ifdef OF_DJGPP # define lrint(x) rint(x) #endif #ifdef OF_AMIGAOS3 # define lrint(x) ((long)x) #endif #ifdef OF_HAVE_THREADS # import "threading.h" static of_tlskey_t threadSelfKey; static OFThread *mainThread; |
︙ | ︙ |