mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-21 13:29:36 +00:00
Define "macintosh" and "Macintosh"
See https://sourceforge.net/p/predef/wiki/OperatingSystems/.
This commit is contained in:
parent
4ff2d7d902
commit
085ef7e333
@ -16,3 +16,11 @@
|
||||
#undef CPP_SPEC
|
||||
#define CPP_SPEC "-Wno-trigraphs"
|
||||
|
||||
#undef TARGET_OS_CPP_BUILTINS
|
||||
#define TARGET_OS_CPP_BUILTINS() \
|
||||
do \
|
||||
{ \
|
||||
builtin_define ("macintosh"); \
|
||||
builtin_define ("Macintosh"); \
|
||||
} \
|
||||
while (0)
|
||||
|
@ -152,6 +152,8 @@
|
||||
builtin_define ("__PPC__"); \
|
||||
builtin_define ("__POWERPC__"); \
|
||||
builtin_define ("__NATURAL_ALIGNMENT__"); \
|
||||
builtin_define ("macintosh"); \
|
||||
builtin_define ("Macintosh"); \
|
||||
builtin_assert ("system=macos"); \
|
||||
builtin_assert ("cpu=powerpc"); \
|
||||
builtin_assert ("machine=powerpc"); \
|
||||
|
Loading…
Reference in New Issue
Block a user