Commit c7e0af8f authored by Mark Adler's avatar Mark Adler

Redefine functions unavailable on MinGW.

parent 7f050dd7
......@@ -363,6 +363,17 @@
# include <sys/pstat.h>
#endif
#ifndef S_IFLNK
# define S_IFLNK 0
#endif
#ifdef __MINGW32__
# define chown(p,o,g) 0
# define utimes(p,t) 0
# define lstat(p,s) stat(p,s)
# define _exit(s) exit(s)
#endif
#include "zlib.h" /* deflateInit2(), deflateReset(), deflate(), */
/* deflateEnd(), deflateSetDictionary(), crc32(),
adler32(), inflateBackInit(), inflateBack(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment