projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
applied patch fixing GCC 4.1 build submitted by the Debian SDCC maintainer Aurelien...
[fw/sdcc]
/
sim
/
ucsim
/
ddconfig_in.h
diff --git
a/sim/ucsim/ddconfig_in.h
b/sim/ucsim/ddconfig_in.h
index 6fdc7f9c2e667ef2bb7422bc4a8765899228392a..442fde0be932e525f66b55fe77d529319fdc47b4 100644
(file)
--- a/
sim/ucsim/ddconfig_in.h
+++ b/
sim/ucsim/ddconfig_in.h
@@
-30,7
+30,8
@@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define DD_TRUE 1
#define DD_FALSE 0
#define DD_TRUE 1
#define DD_FALSE 0
-#define bool int
+ //#define bool int
+#define NIL 0
#undef STDC_HEADERS
#undef HAVE_GETOPT_H
#undef STDC_HEADERS
#undef HAVE_GETOPT_H
@@
-76,6
+77,8
@@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#undef HAVE_FGETS
#undef HAVE_YYLEX
#undef HAVE_FGETS
#undef HAVE_YYLEX
+#undef HAVE_FLEX
+#undef YYTEXT_POINTER
#undef RETSIGTYPE
#undef SIZEOF_CHAR
#undef RETSIGTYPE
#undef SIZEOF_CHAR
@@
-90,6
+93,8
@@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#define TYPE_UWORD unsigned TYPE_WORD
#define TYPE_UDWORD unsigned TYPE_DWORD
#undef WORDS_BIGENDIAN
#define TYPE_UWORD unsigned TYPE_WORD
#define TYPE_UDWORD unsigned TYPE_DWORD
#undef WORDS_BIGENDIAN
+#undef _M_
+#undef _A_
#undef VERSIONSTR
#undef VERSIONHI
#undef VERSIONSTR
#undef VERSIONHI
@@
-98,6
+103,8
@@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#undef ACCEPT_SOCKLEN_T
#undef ACCEPT_SOCKLEN_T
+#undef STATISTIC
+
#endif
/* End of ddconfig.h */
#endif
/* End of ddconfig.h */