projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add support for gcc v3.x compilers.
[seabios.git]
/
src
/
types.h
diff --git
a/src/types.h
b/src/types.h
index a004474e6017d957974e5a25ca832f516cee3ff0..aa9e12d07c7e07bba46f083889e6cb714595f71c 100644
(file)
--- a/
src/types.h
+++ b/
src/types.h
@@
-21,7
+21,15
@@
union u64_u32_u {
u64 val;
};
u64 val;
};
-#define __VISIBLE __attribute__((externally_visible))
+#ifdef MANUAL_NO_JUMP_TABLE
+# define default case 775324556: asm(""); default
+#endif
+
+#ifdef WHOLE_PROGRAM
+# define __VISIBLE __attribute__((externally_visible))
+#else
+# define __VISIBLE
+#endif
#define UNIQSEC __FILE__ "." __stringify(__LINE__)
#define UNIQSEC __FILE__ "." __stringify(__LINE__)