Differences From Artifact [33a8d48723]:
- File
src/unistd_wrapper.h
— part of check-in
[cb450cb1bd]
at
2017-06-03 15:03:27
on branch trunk
— Include unistd.h on MorphOS + libnix
It turns out that including unistd.h does work when defining BOOL to
something else. (user: js, size: 1000) [annotate] [blame] [check-ins using]
To Artifact [1cb41ddd18]:
- File
src/unistd_wrapper.h
— part of check-in
[c9621825fc]
at
2017-06-04 18:48:03
on branch trunk
— Treat MorphOS + ixemul as a separate platform
This reduces the ifdef hell and makes much more sense, as with ixemul,
no native calls are allowed. (user: js, size: 971) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
15 16 17 18 19 20 21 | #include "config.h" #include <stdlib.h> /* Make sure we have any libc include */ #import "platform.h" | | | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #include "config.h" #include <stdlib.h> /* Make sure we have any libc include */ #import "platform.h" #ifdef OF_MORPHOS # define BOOL EXEC_BOOL # include <exec/types.h> # undef BOOL #endif #if defined(HAVE_UNISTD_H) # ifdef __GLIBC__ |
︙ | ︙ |