Fix zlib compilation warnings under OS X and maybe Unix/Linux.

This was a regression because of an oversight when upgrading the bundled
libs. Reported by Manolo, fix confirmed by Kevin in fltk.coredev.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10633 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Albrecht Schlosser 2015-03-17 13:52:57 +00:00
parent 0eaa71e033
commit 913bae54e5

View File

@ -1,3 +1,8 @@
/* FLTK *************************************************************** */
/* FLTK Comments marked with FLTK show modifications for FLTK which */
/* FLTK should probably be preserved when zlib is upgraded. */
/* FLTK *************************************************************** */
/* zconf.h -- configuration of the zlib compression library
* Copyright (C) 1995-2013 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
@ -8,6 +13,10 @@
#ifndef ZCONF_H
#define ZCONF_H
#if ! (defined(_WIN32) || defined(WIN32)) /* FLTK */
# define HAVE_UNISTD_H /* FLTK */
#endif /* FLTK */
/*
* If you *really* need a unique prefix for all types and library functions,
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.