Skip to content

Commit

Permalink
Protect header inclusion on Win. Addresses Blosc/python-blosc#229
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Sep 4, 2020
1 parent 5fc66f7 commit 406f596
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal-complibs/zlib-1.2.8/gzguts.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/

#include <unistd.h>
#ifndef _WIN32
#include <unistd.h>
#endif

#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
Expand Down

0 comments on commit 406f596

Please sign in to comment.