]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove support for SASC and TURBOC compilers
authorhansr <hk-git@circlestorm.org>
Fri, 10 Oct 2014 11:26:04 +0000 (13:26 +0200)
committerhansr <hk-git@circlestorm.org>
Fri, 10 Oct 2014 11:26:04 +0000 (13:26 +0200)
gzguts.h

index e42a11efd79b0c34c83e97d1f7eacf8925bf5675..63e5daaece441fd037f5623329df315e2cad60e1 100644 (file)
--- a/gzguts.h
+++ b/gzguts.h
@@ -31,7 +31,7 @@
 #  include <stddef.h>
 #endif
 
-#if defined(__TURBOC__) || defined(_MSC_VER) || defined(_WIN32)
+#if defined(_MSC_VER) || defined(_WIN32)
 #  include <io.h>
 #endif
 
 #  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