]> git.saurik.com Git - wxWidgets.git/blobdiff - src/tiff/tiffcomp.h
don't crash in UngetRawData() if it is invalid; fixed rounding errors in alpha premul...
[wxWidgets.git] / src / tiff / tiffcomp.h
index f79f394963ba078b52b903f7a3b07261d0435e86..2f7d0dd2cb3666bd1b7228df48629e288450e81d 100644 (file)
 #endif
 
 #if defined(__MWERKS__) || defined(THINK_C)
+#ifdef __MACH__
+#include <sys/types.h>
+#else
 #include <unix.h>
 #include <math.h>
 #endif
+#endif
 
 #include <stdio.h>
 
 #include <stdlib.h>
 #define        BSDTYPES
 #define        HAVE_UNISTD_H   0
-/* GRG: added check for MINGW32 */
 #elif defined(_WINDOWS) || defined(__WIN32__) || defined(_Windows)
 #define BSDTYPES
+#elif defined(__DJGPP__)
+#define BSDTYPES
 #elif defined(OS2_16) || defined(OS2_32)
 #define        BSDTYPES
 #elif defined(__acornriscos)