mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-15 07:29:41 +00:00
Merge pull request #235 from agoode/cpp
Define "macintosh" and "Macintosh"
This commit is contained in:
commit
1ed09307a7
|
@ -16,3 +16,11 @@
|
||||||
#undef CPP_SPEC
|
#undef CPP_SPEC
|
||||||
#define CPP_SPEC "-Wno-trigraphs"
|
#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 ("__PPC__"); \
|
||||||
builtin_define ("__POWERPC__"); \
|
builtin_define ("__POWERPC__"); \
|
||||||
builtin_define ("__NATURAL_ALIGNMENT__"); \
|
builtin_define ("__NATURAL_ALIGNMENT__"); \
|
||||||
|
builtin_define ("macintosh"); \
|
||||||
|
builtin_define ("Macintosh"); \
|
||||||
builtin_assert ("system=macos"); \
|
builtin_assert ("system=macos"); \
|
||||||
builtin_assert ("cpu=powerpc"); \
|
builtin_assert ("cpu=powerpc"); \
|
||||||
builtin_assert ("machine=powerpc"); \
|
builtin_assert ("machine=powerpc"); \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user