X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01fe050c1738fa8c7799830a271e365e424b1621..c0b0635cf69537ca32377bad5650b39402cb21b6:/src/tiff/tiffcomp.h?ds=sidebyside diff --git a/src/tiff/tiffcomp.h b/src/tiff/tiffcomp.h index 48ccfcb1d9..89c2a57c19 100644 --- a/src/tiff/tiffcomp.h +++ b/src/tiff/tiffcomp.h @@ -52,13 +52,21 @@ #endif #if defined(__MWERKS__) || defined(THINK_C) +#ifdef __MACH__ +#include +#else #include #include #endif +#endif + +#if defined (__SC__) && !defined (__DMC__) + #define __SYMANTEC__ +#endif #include -#if defined(__PPCC__) || defined(__SC__) || defined(__MRC__) +#if defined(__PPCC__) || defined(__SYMANTEC__) || defined(__MRC__) #include #elif !defined(__MWERKS__) && !defined(THINK_C) && !defined(__acornriscos) && !defined(applec) #include @@ -79,12 +87,15 @@ * additional includes are also done to pull in the * appropriate definitions we're looking for. */ -#if defined(__MWERKS__) || defined(THINK_C) || defined(__PPCC__) || defined(__SC__) || defined(__MRC__) +#if defined(__MWERKS__) || defined(THINK_C) || defined(__PPCC__) || defined(__SYMANTEC__) || defined(__MRC__) #include +#ifndef __MACH__ #define BSDTYPES +#endif #define HAVE_UNISTD_H 0 -/* GRG: added check for MINGW32 */ -#elif (defined(_WINDOWS) || defined(__WIN32__) || defined(_Windows)) && !defined(__MINGW32__) +#elif defined(_WINDOWS) || defined(__WIN32__) || defined(_Windows) +#define BSDTYPES +#elif defined(__DJGPP__) #define BSDTYPES #elif defined(OS2_16) || defined(OS2_32) #define BSDTYPES @@ -132,7 +143,7 @@ typedef unsigned long u_long; * stack (when coerced by the compiler). */ /* Note: on MacPowerPC "extended" is undefined. So only use it for 68K-Macs */ -#if defined(__SC__) || defined(THINK_C) +#if defined(__SYMANTEC__) || defined(THINK_C) typedef extended dblparam_t; #else typedef double dblparam_t;