diff options
author | foobar <sniper@php.net> | 2005-12-12 19:45:01 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-12-12 19:45:01 +0000 |
commit | f94b3012bd6539b9960b2fdf1e018d643c9e4d41 (patch) | |
tree | 0409573586b58a22e0147f8f7e29348a47cf2925 /ext/date | |
parent | 882a9effe6c0b3864c5a52099c03119bda80eff8 (diff) | |
download | php-git-f94b3012bd6539b9960b2fdf1e018d643c9e4d41.tar.gz |
MFH
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/lib/timelib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/date/lib/timelib.h b/ext/date/lib/timelib.h index 74c3ef797a..127275903e 100644 --- a/ext/date/lib/timelib.h +++ b/ext/date/lib/timelib.h @@ -38,6 +38,10 @@ #define strcasecmp stricmp #endif +#if defined(_MSC_VER) && !defined(strncasecmp) +#define strncasecmp strnicmp +#endif + /* From dow.c */ timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); timelib_sll timelib_iso_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d); |