diff options
| -rw-r--r-- | gzguts.h | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -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 |
