* grub-core/efiemu/runtime/efiemu.c: Replace APPLE_CC with __APPLE__.
* grub-core/kern/misc.c: Likewise. * grub-core/loader/i386/xnu.c: Likewise. * include/grub/i386/tsc.h: Likewise. * include/grub/symbol.h: Likewise.
This commit is contained in:
parent
4a5a3c4abc
commit
e6ad0555e4
6 changed files with 17 additions and 9 deletions
|
@ -46,7 +46,7 @@ grub_efi_status_t
|
|||
efiemu_set_wakeup_time (grub_efi_boolean_t enabled,
|
||||
grub_efi_time_t *time);
|
||||
|
||||
#ifdef APPLE_CC
|
||||
#ifdef __APPLE__
|
||||
#define PHYSICAL_ATTRIBUTE __attribute__ ((section("_text-physical, _text-physical")));
|
||||
#else
|
||||
#define PHYSICAL_ATTRIBUTE __attribute__ ((section(".text-physical")));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue