From: bernhardheld Date: Wed, 22 Jan 2003 13:05:31 +0000 (+0000) Subject: * as/z80/string.h: disable this header for gcc 3.2 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;ds=sidebyside;h=f0741dbf8b6663087d5e1238fdfce8316f32eff2;p=fw%2Fsdcc * as/z80/string.h: disable this header for gcc 3.2 * support/makebin/makebin.c: #include for gcc 3.2 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2164 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 7d65dcc2..29f98dcf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-01-22 Bernhard Held + + * as/z80/string.h: disable this header for gcc 3.2 + * support/makebin/makebin.c: #include for gcc 3.2 + 2003-01-19 Bernhard Held * src/SDCCmain.c (linkEdit): rename mem and map files even in case of failure diff --git a/as/z80/string.h b/as/z80/string.h index fdcd2116..e99b39b9 100644 --- a/as/z80/string.h +++ b/as/z80/string.h @@ -1,6 +1,8 @@ /* STRING.H */ /* DECUC C */ +#ifdef SOME_CRAZY_COMPILER + extern char * strcat(); extern char * strchr(); extern int strcmp(); @@ -13,3 +15,5 @@ extern char * strncpy(); extern int strneq(); extern char * strrchr(); +#endif + diff --git a/support/makebin/makebin.c b/support/makebin/makebin.c index deb4e78f..79ecf2f3 100644 --- a/support/makebin/makebin.c +++ b/support/makebin/makebin.c @@ -3,6 +3,7 @@ #include #include #include +#include typedef unsigned char BYTE;