sniper Mon Dec 12 19:45:01 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/date/lib timelib.h Log: MFH http://cvs.php.net/viewcvs.cgi/php-src/ext/date/lib/timelib.h?r1=1.10.2.5&r2=1.10.2.6&diff_format=u Index: php-src/ext/date/lib/timelib.h diff -u php-src/ext/date/lib/timelib.h:1.10.2.5 php-src/ext/date/lib/timelib.h:1.10.2.6 --- php-src/ext/date/lib/timelib.h:1.10.2.5 Thu Dec 1 16:24:52 2005 +++ php-src/ext/date/lib/timelib.h Mon Dec 12 19:45:01 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: timelib.h,v 1.10.2.5 2005/12/01 16:24:52 iliaa Exp $ */ +/* $Id: timelib.h,v 1.10.2.6 2005/12/12 19:45:01 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