patch provided 3rdparty zlib to work with MacOS

This commit is contained in:
Antonin Descampe 2020-12-31 11:06:28 +01:00
parent 4db0c8d5ae
commit 433edd0eea
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@
* For conditions of distribution and use, see copyright notice in zlib.h * For conditions of distribution and use, see copyright notice in zlib.h
*/ */
#include <unistd.h>
#ifdef _LARGEFILE64_SOURCE #ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE # ifndef _LARGEFILE_SOURCE
# define _LARGEFILE_SOURCE 1 # define _LARGEFILE_SOURCE 1