summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib/zutil.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-28 13:39:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-10-28 13:39:23 +0900
commit69e1261df646edf24612d7f953dac81182e7461b (patch)
tree5d9a9e9600f0592c3732fe7c9402134fd22d6651 /src/3rdparty/zlib/zutil.h
parentc9a75bccc60b6ac092f76a2624115fd8935f4888 (diff)
downloadtqt-69e1261d.tar.gz
tqt-69e1261d.zip
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/3rdparty/zlib/zutil.h')
-rw-r--r--src/3rdparty/zlib/zutil.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/3rdparty/zlib/zutil.h b/src/3rdparty/zlib/zutil.h
index 7b42edcaa..50bcbbf6e 100644
--- a/src/3rdparty/zlib/zutil.h
+++ b/src/3rdparty/zlib/zutil.h
@@ -76,17 +76,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
#if defined(MSDOS) || (defined(WINDOWS) && !defined(WIN32))
# define OS_CODE 0x00
-# if defined(__TURBOC__) || defined(__BORLANDC__)
-# if(__STDC__ == 1) && (defined(__LARGE__) || defined(__COMPACT__))
- /* Allow compilation with ANSI keywords only enabled */
- void _Cdecl farfree( void *block );
- void *_Cdecl farmalloc( unsigned long nbytes );
-# else
-# include <alloc.h>
-# endif
-# else /* MSC or DJGPP */
-# include <malloc.h>
-# endif
+# include <malloc.h>
#endif
#ifdef AMIGA
@@ -160,7 +150,7 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
/* functions */
-#if defined(STDC99) || (defined(__TURBOC__) && __TURBOC__ >= 0x550)
+#if defined(STDC99)
# ifndef HAVE_VSNPRINTF
# define HAVE_VSNPRINTF
# endif
@@ -176,9 +166,6 @@ extern const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
but for now we just assume it doesn't. */
# define NO_vsnprintf
# endif
-# ifdef __TURBOC__
-# define NO_vsnprintf
-# endif
# ifdef WIN32
/* In Win32, vsnprintf is available as the "non-ANSI" _vsnprintf. */
# if !defined(vsnprintf) && !defined(NO_vsnprintf)