Fixed osx compilation (hopefully).
This commit is contained in:
parent
e724770af5
commit
6482d8cc80
@ -569,7 +569,7 @@ int ZEXPORT gzclose_w(file)
|
||||
#ifdef _WIN32
|
||||
if (_close(state->fd) == -1)
|
||||
#else
|
||||
if (_close(state->fd) == -1)
|
||||
if (close(state->fd) == -1)
|
||||
#endif
|
||||
ret = Z_ERRNO;
|
||||
free(state);
|
||||
|
Loading…
Reference in New Issue
Block a user