From: Václav Slavík Date: Sat, 15 Dec 2001 23:18:18 +0000 (+0000) Subject: DJGPP support in libtiff (what else can I do that to touch libtiff headers?) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c1725ec7f37cb7035e4322217a8679803ae43901 DJGPP support in libtiff (what else can I do that to touch libtiff headers?) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/tiff/tiffcomp.h b/src/tiff/tiffcomp.h index fbe1c0ebb1..bb5fb8c7e3 100644 --- a/src/tiff/tiffcomp.h +++ b/src/tiff/tiffcomp.h @@ -85,6 +85,8 @@ #define HAVE_UNISTD_H 0 #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) diff --git a/src/tiff/tiffiop.h b/src/tiff/tiffiop.h index 91264785f3..2697807129 100644 --- a/src/tiff/tiffiop.h +++ b/src/tiff/tiffiop.h @@ -34,7 +34,7 @@ * a port.h file that reflects the system capabilities. * Doing this obviates all the dreck done in tiffcomp.h. */ -#if defined(unix) || defined(__unix) +#if (defined(unix) || defined(__unix)) && !defined(__DJGPP__) #include "port.h" #include "tiffconf.h" #else