Skip to content

Commit 406f596

Browse files
committed
Protect header inclusion on Win. Addresses Blosc/python-blosc#229
1 parent 5fc66f7 commit 406f596

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎internal-complibs/zlib-1.2.8/gzguts.h‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

6-
#include <unistd.h>
6+
#ifndef _WIN32
7+
#include <unistd.h>
8+
#endif
79

810
#ifdef _LARGEFILE64_SOURCE
911
# ifndef _LARGEFILE_SOURCE

0 commit comments

Comments
 (0)