aboutsummaryrefslogtreecommitdiff
path: root/gzguts.h
diff options
context:
space:
mode:
Diffstat (limited to 'gzguts.h')
-rw-r--r--gzguts.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gzguts.h b/gzguts.h
index 68d135b..5121616 100644
--- a/gzguts.h
+++ b/gzguts.h
@@ -35,6 +35,13 @@
35# include <io.h> 35# include <io.h>
36#endif 36#endif
37 37
38#ifdef WINAPI_FAMILY
39# define open _open
40# define read _read
41# define write _write
42# define close _close
43#endif
44
38#ifdef NO_DEFLATE /* for compatibility with old definition */ 45#ifdef NO_DEFLATE /* for compatibility with old definition */
39# define NO_GZCOMPRESS 46# define NO_GZCOMPRESS
40#endif 47#endif