From 1ad40983f38c7d999d35971f62626050e95746db Mon Sep 17 00:00:00 2001 From: bernhardheld Date: Sun, 5 Jan 2003 17:57:09 +0000 Subject: [PATCH] * src/SDCCmacro.c: MAX_STRING_LENGTH increased to 2048; was too small for regression tests * support/regression/ports/host/support.c: #include for gcc 3.2 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2137 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 4 ++++ src/SDCCmacro.c | 2 +- support/regression/ports/host/support.c | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 802e7814..91a9523d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-01-05 Bernhard Held + * src/SDCCmacro.c: MAX_STRING_LENGTH increased to 2048; was too small for regression tests + * support/regression/ports/host/support.c: #include for gcc 3.2 + 2003-01-04 * src/SDCCval.c (getNelements): fixed the initialized array of structures diff --git a/src/SDCCmacro.c b/src/SDCCmacro.c index 4bc7ce43..41bfddf5 100644 --- a/src/SDCCmacro.c +++ b/src/SDCCmacro.c @@ -26,7 +26,7 @@ enum { - MAX_STRING_LENGTH = PATH_MAX, + MAX_STRING_LENGTH = 2048, MAX_MACRO_NAME_LENGTH = 128 }; diff --git a/support/regression/ports/host/support.c b/support/regression/ports/host/support.c index c98d4896..1077fb5b 100644 --- a/support/regression/ports/host/support.c +++ b/support/regression/ports/host/support.c @@ -1,6 +1,7 @@ /** Host specific support routines. */ #include +#include void _putchar(char c) { -- 2.30.2