Differences From Artifact [8b387494ee]:
- File src/OFLocalization.m — part of check-in [eca1f56e3d] at 2018-04-15 17:41:35 on branch trunk — OFLocalization: Add support for AmigaOS 4 (user: js, size: 10440) [annotate] [blame] [check-ins using]
To Artifact [ae5afaaea8]:
- File
src/OFLocalization.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: 10403) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
31 32 33 34 35 36 37 | #ifdef OF_AMIGAOS # ifdef OF_AMIGAOS4 # define __NOLIBBASE__ # define __NOGLOBALIFACE__ # define __USE_INLINE__ # endif | < < | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #ifdef OF_AMIGAOS # ifdef OF_AMIGAOS4 # define __NOLIBBASE__ # define __NOGLOBALIFACE__ # define __USE_INLINE__ # endif # include <proto/dos.h> # include <proto/exec.h> # include <proto/locale.h> #endif static OFLocalization *sharedLocalization = nil; #ifdef OF_AMIGAOS4 extern struct ExecIFace *IExec; static struct Library *DOSBase = NULL; |
︙ | ︙ |