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

Use underscored I/O function names for WINAPI_FAMILY.

Suggested by E. Timothy Uy.
上级 931aa25a
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册