Use underscored I/O function names for WINAPI_FAMILY.

Suggested by E. Timothy Uy.
This commit is contained in:
Mark Adler 2013-02-23 20:27:13 -08:00
parent 931aa25aea
commit d211ecdf02

View File

@ -35,6 +35,13 @@
# include <io.h>
#endif
#ifdef WINAPI_FAMILY
# define open _open
# define read _read
# define write _write
# define close _close
#endif
#ifdef NO_DEFLATE /* for compatibility with old definition */
# define NO_GZCOMPRESS
#endif