diff --git a/gzguts.h b/gzguts.h index 68d135b..5121616 100644 --- a/gzguts.h +++ b/gzguts.h @@ -35,6 +35,13 @@ # include #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