diff options
author | Greg Beaver <cellog@php.net> | 2008-01-12 03:46:47 +0000 |
---|---|---|
committer | Greg Beaver <cellog@php.net> | 2008-01-12 03:46:47 +0000 |
commit | 5d96f54cf9001c61862c10df0925b2184af76ddc (patch) | |
tree | a25884e09331c17be2cfaafd295806708c3743ee /ext/zip/lib/zip_win32.h | |
parent | 9ce5990880049726da2a3117c27bfab8e95b7894 (diff) | |
download | php-git-5d96f54cf9001c61862c10df0925b2184af76ddc.tar.gz |
revert last commit, was to wrong branch
Diffstat (limited to 'ext/zip/lib/zip_win32.h')
-rw-r--r-- | ext/zip/lib/zip_win32.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/zip/lib/zip_win32.h b/ext/zip/lib/zip_win32.h index ea3860d602..a33347ba0c 100644 --- a/ext/zip/lib/zip_win32.h +++ b/ext/zip/lib/zip_win32.h @@ -1,3 +1,6 @@ + +#ifdef _MSC_VER + #define _POSIX_ #include <windows.h> #include <io.h> @@ -9,6 +12,9 @@ #ifndef mode_t # define mode_t int #endif +#ifndef strcasecmp +# define strcasecmp stricmp +#endif #ifndef snprintf # define snprintf _snprintf #endif @@ -20,3 +26,4 @@ # define fseeko fseek #endif */ +#endif |