diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-28 13:39:23 +0900 | 
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-28 13:39:23 +0900 | 
| commit | 69e1261df646edf24612d7f953dac81182e7461b (patch) | |
| tree | 5d9a9e9600f0592c3732fe7c9402134fd22d6651 /src/3rdparty/zlib/zconf.in.h | |
| parent | c9a75bccc60b6ac092f76a2624115fd8935f4888 (diff) | |
| download | tqt-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/zconf.in.h')
| -rw-r--r-- | src/3rdparty/zlib/zconf.in.h | 17 | 
1 files changed, 4 insertions, 13 deletions
| diff --git a/src/3rdparty/zlib/zconf.in.h b/src/3rdparty/zlib/zconf.in.h index 3c21403fc..af321ab6f 100644 --- a/src/3rdparty/zlib/zconf.in.h +++ b/src/3rdparty/zlib/zconf.in.h @@ -99,7 +99,7 @@  #if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))  #  define STDC  #endif -#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__)) +#if !defined(STDC) && defined(__GNUC__)  #  define STDC  #endif  #if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32)) @@ -184,11 +184,7 @@  #  if (defined(__SMALL__) || defined(__MEDIUM__))       /* Turbo C small or medium model */  #    define SMALL_MEDIUM -#    ifdef __BORLANDC__ -#      define FAR _far -#    else -#      define FAR far -#    endif +#    define FAR far  #  endif  #endif @@ -197,7 +193,7 @@      * This is not mandatory, but it offers a little performance increase.      */  #  ifdef ZLIB_DLL -#    if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500)) +#    if defined(WIN32)  #      ifdef ZLIB_INTERNAL  #        define ZEXTERN extern __declspec(dllexport)  #      else @@ -257,12 +253,7 @@ typedef unsigned char  Byte;  /* 8 bits */  typedef unsigned int   uInt;  /* 16 bits or more */  typedef unsigned long  uLong; /* 32 bits or more */ -#ifdef SMALL_MEDIUM -   /* Borland C/C++ and some old MSC versions ignore FAR inside typedef */ -#  define Bytef Byte FAR -#else -   typedef Byte  FAR Bytef; -#endif +typedef Byte  FAR Bytef;  typedef char  FAR charf;  typedef int   FAR intf;  typedef uInt  FAR uIntf; | 
