diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-07-13 11:08:36 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-07-13 11:08:36 -0400 |
commit | 7ab798f9071abb4566e164fc25fb22d179c8f767 (patch) | |
tree | c61f4090a07f3642d227745819c6ec9e73a4ef6c /src/types.h | |
parent | 95cde27fed8eecf481ad1500d7181e67080c5ee2 (diff) | |
download | seabios-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.h | 2 |
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. |