]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Mon, 12 Dec 2005 19:45:01 +0000 (19:45 +0000)
committerfoobar <sniper@php.net>
Mon, 12 Dec 2005 19:45:01 +0000 (19:45 +0000)
ext/date/lib/timelib.h

index 74c3ef797abb5ee97e8a1236d25c948fd9a2ce6c..127275903e1c08cb91f9b878449fe1dad1a4d883 100644 (file)
 #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);