From e099ada69f250c59848212adbf2b36199170c320 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 27 Feb 2011 16:51:58 +0000 Subject: Removed unix compilation warnings after update of zlib to v. 1.2.5 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8485 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- zlib/zconf.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zlib/zconf.h b/zlib/zconf.h index 02ce56c43..0e20e568e 100644 --- a/zlib/zconf.h +++ b/zlib/zconf.h @@ -356,6 +356,10 @@ typedef uLong FAR uLongf; typedef Byte *voidp; #endif +#if !(defined(WINDOWS) || defined(WIN32)) +# define HAVE_UNISTD_H +#endif + #ifdef HAVE_UNISTD_H /* may be set to #if 1 by ./configure */ # define Z_HAVE_UNISTD_H #endif -- cgit v1.2.3