* 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
|
@ -132,7 +132,7 @@ guessfsb (void)
|
|||
if (! grub_cpu_is_cpuid_supported ())
|
||||
return sane_value;
|
||||
|
||||
#ifdef APPLE_CC
|
||||
#ifdef __APPLE__
|
||||
asm volatile ("movl $0, %%eax\n"
|
||||
#ifdef __x86_64__
|
||||
"push %%rbx\n"
|
||||
|
@ -167,7 +167,7 @@ guessfsb (void)
|
|||
if (max_cpuid < 1)
|
||||
return sane_value;
|
||||
|
||||
#ifdef APPLE_CC
|
||||
#ifdef __APPLE__
|
||||
asm volatile ("movl $1, %%eax\n"
|
||||
#ifdef __x86_64__
|
||||
"push %%rbx\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue