提交 d211ecdf 编写于 作者: M Mark Adler

Use underscored I/O function names for WINAPI_FAMILY.

Suggested by E. Timothy Uy.
上级 931aa25a
...@@ -35,6 +35,13 @@ ...@@ -35,6 +35,13 @@
# include <io.h> # include <io.h>
#endif #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 */ #ifdef NO_DEFLATE /* for compatibility with old definition */
# define NO_GZCOMPRESS # define NO_GZCOMPRESS
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册