sniper Mon Dec 12 19:44:27 2005 EDT
Modified files:
/php-src/ext/date/lib timelib.h
Log:
- Fix build failure under win32
http://cvs.php.net/viewcvs.cgi/php-src/ext/date/lib/timelib.h?r1=1.15&r2=1.16&diff_format=u
Index: php-src/ext/date/lib/timelib.h
diff -u php-src/ext/date/lib/timelib.h:1.15 php-src/ext/date/lib/timelib.h:1.16
--- php-src/ext/date/lib/timelib.h:1.15 Thu Dec 1 16:26:38 2005
+++ php-src/ext/date/lib/timelib.h Mon Dec 12 19:44:27 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: timelib.h,v 1.15 2005/12/01 16:26:38 iliaa Exp $ */
+/* $Id: timelib.h,v 1.16 2005/12/12 19:44:27 sniper Exp $ */
#ifndef __TIMELIB_H__
#define __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);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php