From: cuz Date: Fri, 17 Nov 2000 10:24:16 +0000 (+0000) Subject: Small fix for DJGPP X-Git-Tag: V2.12.0~3084 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cc9a01777e87025348401433ad695c2893a652c0;p=cc65 Small fix for DJGPP git-svn-id: svn://svn.cc65.org/cc65/trunk@444 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/xsprintf.c b/src/common/xsprintf.c index 8988465fc..4d891ad8b 100644 --- a/src/common/xsprintf.c +++ b/src/common/xsprintf.c @@ -66,7 +66,7 @@ int xvsprintf (char* Buf, size_t BufSize, const char* Format, va_list ap) { #if defined(__WATCOMC__) int Res = _vbprintf (Buf, BufSize, Format, ap); -#elif defined(__GNUC__) +#elif defined(__GNUC__) && !defined(__GO32__) int Res = vsnprintf (Buf, BufSize, Format, ap); #elif defined(_MSC_VER) int Res = _vsnprintf (Buf, BufSize, Format, ap);