Fixed osx compilation (hopefully).

This commit is contained in:
hiker 2015-01-28 11:04:40 +11:00
parent e724770af5
commit 6482d8cc80

View File

@ -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);