summaryrefslogtreecommitdiff
path: root/ext/zip/lib/zipint.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/zip/lib/zipint.h')
-rw-r--r--ext/zip/lib/zipint.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/zip/lib/zipint.h b/ext/zip/lib/zipint.h
index 67fae80ade..ea21dddcd4 100644
--- a/ext/zip/lib/zipint.h
+++ b/ext/zip/lib/zipint.h
@@ -46,10 +46,12 @@
#define ftello(s) ((long)ftell((s)))
#endif
+#ifndef PHP_WIN32
#ifndef HAVE_MKSTEMP
int _zip_mkstemp(char *);
#define mkstemp _zip_mkstemp
#endif
+#endif
#ifdef PHP_WIN32
#include <windows.h>