aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/g++spec.c
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2021-09-22 07:42:21 +0100
committerIain Sandoe <iain@sandoe.co.uk>2021-09-22 07:42:21 +0100
commit578b76873383784841f5478573f4ac5d251aa0ba (patch)
treef23535c5c0c58ef3928eaaea0c7b378a6a0be48a /gcc/cp/g++spec.c
parentb0ac84dc27874f5bd69255d55f909e240f0b45a5 (diff)
downloadgcc-578b76873383784841f5478573f4ac5d251aa0ba.zip
gcc-578b76873383784841f5478573f4ac5d251aa0ba.tar.gz
gcc-578b76873383784841f5478573f4ac5d251aa0ba.tar.bz2
libgcc, X86: Adjust guard for Mach-O code.
Existing code in the sfp-machine header has been using __MACH__ as a guard for Mach-O, where currently symbols aliases are not supported. __MACH__ is not a sufficient guard for this, since the define is also emitted for HURD, at least. Fixed by amending the guard to use __APPLE__ instead. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> libgcc/ChangeLog: * config/i386/sfp-machine.h: Guard Mach-O-specific code using __APPLE__.
Diffstat (limited to 'gcc/cp/g++spec.c')
0 files changed, 0 insertions, 0 deletions