diff options
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); |