summaryrefslogtreecommitdiff
path: root/ext/date/config.w32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-02 16:49:56 +0000
committerPierre Joye <pajoye@php.net>2008-08-02 16:49:56 +0000
commitc8a42610e534da7d2757fb9026b571bb540b90de (patch)
treeaeaab4216105290b998d10be0e0b58168612f959 /ext/date/config.w32
parent2317deb6f58a4bb4d9ed7cd386c99b84cf8964f3 (diff)
downloadphp-git-c8a42610e534da7d2757fb9026b571bb540b90de.tar.gz
- improve previous fix for scan, disable optimizer only for scan() using #pragma optimize
Diffstat (limited to 'ext/date/config.w32')
-rwxr-xr-xext/date/config.w325
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/date/config.w32 b/ext/date/config.w32
index aa0bfe4858..483770d4a0 100755
--- a/ext/date/config.w32
+++ b/ext/date/config.w32
@@ -5,11 +5,6 @@ EXTENSION("date", "php_date.c", false, "-Iext/date/lib");
ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c parse_date.c parse_tz.c tm2unixtime.c unixtime2tm.c parse_iso_intervals.c interval.c", "date");
AC_DEFINE('HAVE_DATE', 1, 'Have date/time support');
-// date parser's scan function too large for VC6 - VC7.x, drop the optimization solves the problem
-if (VCVERS<1400) {
- ADD_FLAG('CFLAGS_DATE', ' /O1 ');
-}
-
var tl_config = FSO.CreateTextFile("ext/date/lib/timelib_config.h", true);
tl_config.WriteLine("#include \"config.w32.h\"");
tl_config.Close();