* 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:
Vladimir 'phcoder' Serbinenko 2012-05-28 17:49:18 +02:00
parent 4a5a3c4abc
commit e6ad0555e4
6 changed files with 17 additions and 9 deletions

View file

@ -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")));