From c1725ec7f37cb7035e4322217a8679803ae43901 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sat, 15 Dec 2001 23:18:18 +0000 Subject: [PATCH] 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 --- src/tiff/tiffcomp.h | 2 ++ src/tiff/tiffiop.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 -- 2.45.2