aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2008-07-13 11:08:36 -0400
committerKevin O'Connor <kevin@koconnor.net>2008-07-13 11:08:36 -0400
commit7ab798f9071abb4566e164fc25fb22d179c8f767 (patch)
treec61f4090a07f3642d227745819c6ec9e73a4ef6c /src/types.h
parent95cde27fed8eecf481ad1500d7181e67080c5ee2 (diff)
downloadseabios-hppa-7ab798f9071abb4566e164fc25fb22d179c8f767.zip
seabios-hppa-7ab798f9071abb4566e164fc25fb22d179c8f767.tar.gz
seabios-hppa-7ab798f9071abb4566e164fc25fb22d179c8f767.tar.bz2
Always define macro MODE16 - that way it can be used in C conditionals.
When in 32bit mode - just define it to 0.
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.h b/src/types.h
index 81b6739..dfc3f16 100644
--- a/src/types.h
+++ b/src/types.h
@@ -22,7 +22,7 @@ union u64_u32_u {
};
#define __VISIBLE __attribute__((externally_visible))
-#ifdef MODE16
+#if MODE16 == 1
// Notes a function as externally visible in the 16bit code chunk.
#define VISIBLE16 __VISIBLE
// Notes a function as externally visible in the 32bit code chunk.