projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use appropriate data-types on host for SDCC's int and long
[fw/sdcc]
/
sdcc_vc_in.h
diff --git
a/sdcc_vc_in.h
b/sdcc_vc_in.h
index 32b58b084a0069a734b182dc464b020599e5fdaf..ca31c66e0b6021399b7179b1c4ea64c64578e803 100644
(file)
--- a/
sdcc_vc_in.h
+++ b/
sdcc_vc_in.h
@@
-37,6
+37,13
@@
#undef HAVE_SPRINTF
#undef HAVE_VSPRINTF
#undef HAVE_SPRINTF
#undef HAVE_VSPRINTF
+#define TYPE_BYTE char
+#define TYPE_WORD short
+#define TYPE_DWORD int
+#define TYPE_UBYTE unsigned TYPE_BYTE
+#define TYPE_UWORD unsigned TYPE_WORD
+#define TYPE_UDWORD unsigned TYPE_DWORD
+
#undef OPT_DISABLE_MCS51
#undef OPT_DISABLE_GBZ80
#undef OPT_DISABLE_Z80
#undef OPT_DISABLE_MCS51
#undef OPT_DISABLE_GBZ80
#undef OPT_DISABLE_Z80