From f94b3012bd6539b9960b2fdf1e018d643c9e4d41 Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 12 Dec 2005 19:45:01 +0000 Subject: [PATCH] MFH --- ext/date/lib/timelib.h | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.50.1