From: borutr Date: Sun, 23 Feb 2003 21:30:11 +0000 (+0000) Subject: vsnprintf is defined as _vsnprintf on MSVC X-Git-Url: https://git.gag.com/?p=fw%2Fsdcc;a=commitdiff_plain;h=6abdfcf72c15b6b079bfbe32e7730e59fee3482d vsnprintf is defined as _vsnprintf on MSVC git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2299 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index bf50a59b..bf05822e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-02-23 Borut Razem + + * src/asm.h: corrected assertion in function printILine(): _pipe() was not executed on MSVC, + because NDEBUG is defined (see man assert) + * sdcc_vc_in.h: vsnprintf is defined as _vsnprintf on MSVC + 2003-02-23 Frieder Ferlemann * src/mcs51/gen.c (genUminusFloat): avoided dptr in-/decrement for xdata variables diff --git a/sdcc_vc_in.h b/sdcc_vc_in.h index 467d979b..32b58b08 100644 --- a/sdcc_vc_in.h +++ b/sdcc_vc_in.h @@ -32,9 +32,10 @@ // #undef HAVE_ENDIAN_H #undef HAVE_STRERROR -#undef HAVE_VSNPRINTF -#undef HAVE_SNPRINTF -#define HAVE_VSPRINTF +#define HAVE_VSNPRINTF +#define vsnprintf _vsnprintf +#undef HAVE_SPRINTF +#undef HAVE_VSPRINTF #undef OPT_DISABLE_MCS51 #undef OPT_DISABLE_GBZ80