Skip to content

Commit d90890f

Browse files
committed
refactor and fixes
1 parent d23d05b commit d90890f

32 files changed

Lines changed: 301 additions & 545 deletions

ext/date/config.w32

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
EXTENSION("date", "php_date.c", false, "/Iext/date/lib /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 /DHAVE_TIMELIB_CONFIG_H=1");
44
PHP_DATE = "yes";
5+
ADD_EXTENSION_DEP('date', 'opcache');
56
ADD_SOURCES("ext/date/lib", "astro.c timelib.c dow.c parse_date.c parse_posix.c parse_tz.c tm2unixtime.c unixtime2tm.c parse_iso_intervals.c interval.c", "date");
67

78
ADD_FLAG('CFLAGS_DATE', "/wd4244");

ext/date/config0.m4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ PHP_NEW_EXTENSION([date],
2222
[no],,
2323
[$PHP_DATE_CFLAGS])
2424

25+
PHP_ADD_EXTENSION_DEP(date, opcache)
26+
2527
PHP_ADD_SOURCES([$ext_dir], [$timelib_sources], [$PHP_TIMELIB_CFLAGS])
2628

2729
PHP_ADD_BUILD_DIR([$ext_builddir/lib], [1])

0 commit comments

Comments
 (0)