Annotation of embedaddon/php/ext/zip/lib/zip_win32.h, revision 1.1.1.1
1.1 misho 1: #define _POSIX_
2: #include <windows.h>
3: #include <io.h>
4: #include <fcntl.h>
5: #include <string.h>
6: #include <zconf.h>
7:
8: #ifndef strcasecmp
9: # define strcmpi _strcmpi
10: #endif
11:
12: #ifndef ssize_t
13: # define ssize_t SSIZE_T
14: #endif
15:
16: #ifndef mode_t
17: # define mode_t int
18: #endif
19:
20: #ifndef snprintf
21: # define snprintf _snprintf
22: #endif
23:
24: #ifndef mkstemp
25: # define mkstemp(t) _creat(_mktemp(t), _S_IREAD|_S_IWRITE)
26: #endif
27: /*
28: #ifndef fseeko
29: # define fseeko fseek
30: #endif
31: */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>