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