diff options
author | Frank M. Kromann <fmk@php.net> | 2005-06-30 23:03:36 +0000 |
---|---|---|
committer | Frank M. Kromann <fmk@php.net> | 2005-06-30 23:03:36 +0000 |
commit | 4ae7321f3e88a3454580690a71a6e374c8de4c6b (patch) | |
tree | 48052dd9682bb3b3462a26900baaebd65165411a /ext/date | |
parent | 6833acff233c63c25ca2ebdc64c98464f5e75bd5 (diff) | |
download | php-git-4ae7321f3e88a3454580690a71a6e374c8de4c6b.tar.gz |
Fix Win32 build
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/lib/parse_date.c | 1 | ||||
-rw-r--r-- | ext/date/lib/timelib.h | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/date/lib/parse_date.c b/ext/date/lib/parse_date.c index f5c4ca34e7..8872f02410 100644 --- a/ext/date/lib/parse_date.c +++ b/ext/date/lib/parse_date.c @@ -34,7 +34,6 @@ #endif #if defined(_MSC_VER) -# define strcasecmp stricmp # define strtoll(s, f, b) _atoi64(s) #elif !defined(HAVE_STRTOLL) # if defined(HAVE_ATOLL) diff --git a/ext/date/lib/timelib.h b/ext/date/lib/timelib.h index 79061b36f3..5bda8b93cf 100644 --- a/ext/date/lib/timelib.h +++ b/ext/date/lib/timelib.h @@ -34,6 +34,10 @@ #define LONG_MIN (- LONG_MAX - 1) #endif +#if defined(_MSC_VER) +#define strcasecmp stricmp +#endif + /* From dow.c */ timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d); |