summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-12-12 19:45:01 +0000
committerfoobar <sniper@php.net>2005-12-12 19:45:01 +0000
commitf94b3012bd6539b9960b2fdf1e018d643c9e4d41 (patch)
tree0409573586b58a22e0147f8f7e29348a47cf2925 /ext/date
parent882a9effe6c0b3864c5a52099c03119bda80eff8 (diff)
downloadphp-git-f94b3012bd6539b9960b2fdf1e018d643c9e4d41.tar.gz
MFH
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/lib/timelib.h4
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);