]> granicus.if.org Git - php/commitdiff
Fix Win32 build
authorFrank M. Kromann <fmk@php.net>
Thu, 30 Jun 2005 23:03:36 +0000 (23:03 +0000)
committerFrank M. Kromann <fmk@php.net>
Thu, 30 Jun 2005 23:03:36 +0000 (23:03 +0000)
ext/date/lib/parse_date.c
ext/date/lib/timelib.h

index f5c4ca34e7ee2e7cb39a798b95f2e631f6b28916..8872f02410f78cca25e887dd3b04b427eb80ce4b 100644 (file)
@@ -34,7 +34,6 @@
 #endif
 
 #if defined(_MSC_VER)
-# define strcasecmp stricmp
 # define strtoll(s, f, b) _atoi64(s)
 #elif !defined(HAVE_STRTOLL)
 # if defined(HAVE_ATOLL)
index 79061b36f301879068401bd65a12d0786dc268a5..5bda8b93cf79879a8f45155a8bf0333f7d9a4758 100644 (file)
 #define LONG_MIN (- LONG_MAX - 1)
 #endif
 
+#if defined(_MSC_VER)
+#define strcasecmp stricmp
+#endif
+
 /* From dow.c */
 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d);
 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d);