X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/00cb87b4be158b91f91dc7a7026bfd6665e7560f..c9f00f2fce9cacd46ae25417d6c3a5add7640320:/src/tiff/tiffcomp.h diff --git a/src/tiff/tiffcomp.h b/src/tiff/tiffcomp.h index 86c0a15e57..c421273e73 100644 --- a/src/tiff/tiffcomp.h +++ b/src/tiff/tiffcomp.h @@ -51,14 +51,14 @@ #define __acornriscos #endif -#if defined(__MWERKS__) || defined(THINK_C) +#if (defined(__MWERKS__) && !defined(__MACH__)) || defined(THINK_C) #include #include #endif #include -#if defined(__PPCC__) || defined(__SC__) || defined(__MRC__) +#if defined(__PPCC__) || ( defined(__SC__) && !defined(__DMC__) ) || defined(__MRC__) #include #elif !defined(__MWERKS__) && !defined(THINK_C) && !defined(__acornriscos) && !defined(applec) #include @@ -79,7 +79,7 @@ * 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(__SC__) && !defined(__DMC__) ) || defined(__MRC__) #include #define BSDTYPES #define HAVE_UNISTD_H 0 @@ -87,6 +87,8 @@ #define BSDTYPES #elif defined(OS2_16) || defined(OS2_32) #define BSDTYPES +#elif defined(__MSDOS__) +#define BSDTYPES #elif defined(__acornriscos) #include #define BSDTYPES @@ -137,7 +139,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(__SC__) && !defined(__DMC__) ) || defined(THINK_C) typedef extended dblparam_t; #else typedef double dblparam_t;