aboutsummaryrefslogtreecommitdiffstats
path: root/cbtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'cbtable.c')
-rw-r--r--cbtable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cbtable.c b/cbtable.c
index 4495d9d7..b4fb8091 100644
--- a/cbtable.c
+++ b/cbtable.c
@@ -211,7 +211,7 @@ int coreboot_init(void)
struct lb_header *lb_table;
struct lb_record *rec, *last;
-#ifdef __DARWIN__
+#if defined(__MACH__) && defined(__APPLE__)
/* This is a hack. DirectHW fails to map physical address 0x00000000.
* Why?
*/