]> git.saurik.com Git - wxWidgets.git/commitdiff
DJGPP support in libtiff (what else can I do that to touch libtiff headers?)
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 15 Dec 2001 23:18:18 +0000 (23:18 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 15 Dec 2001 23:18:18 +0000 (23:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/tiff/tiffcomp.h
src/tiff/tiffiop.h

index fbe1c0ebb1ae8e1f8adcaaf036793bdb4b172a50..bb5fb8c7e3cdf7a731a48c4e2030f85cfdea32be 100644 (file)
@@ -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)
index 91264785f3555e457e5b5eced421e48ae5d608ef..269780712919ac51b19d29152b694fb0e993239b 100644 (file)
@@ -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