From: hansr Date: Fri, 10 Oct 2014 11:26:04 +0000 (+0200) Subject: Remove support for SASC and TURBOC compilers X-Git-Tag: 1.9.9-b1~924 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5c5de68590f559ceee1f26bca0eb2f4b26a21cd;p=thirdparty%2Fzlib-ng.git Remove support for SASC and TURBOC compilers --- diff --git a/gzguts.h b/gzguts.h index e42a11efd..63e5daaec 100644 --- a/gzguts.h +++ b/gzguts.h @@ -31,7 +31,7 @@ # include #endif -#if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32) +#if defined(_MSC_VER) || defined(_WIN32) # include #endif @@ -46,22 +46,13 @@ # define NO_GZCOMPRESS #endif -#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550) -# ifndef HAVE_VSNPRINTF -# define HAVE_VSNPRINTF -# endif -#endif - -#if defined(__CYGWIN__) +#if defined(STDC99) || defined(__CYGWIN__) # ifndef HAVE_VSNPRINTF # define HAVE_VSNPRINTF # endif #endif #ifndef HAVE_VSNPRINTF -# ifdef __TURBOC__ -# define NO_vsnprintf -# endif # ifdef WIN32 /* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */ # if !defined(vsnprintf) && !defined(NO_vsnprintf) @@ -70,9 +61,6 @@ # endif # endif # endif -# ifdef __SASC -# define NO_vsnprintf -# endif #endif /* unlike snprintf (which is required in C99, yet still not supported by