Skip to content

Commit

Permalink
Add missing ZEND_ENABLE_STATIC_TSRMLS_CACHE on Windows (#183)
Browse files Browse the repository at this point in the history
This enables static tsrmls cache on Windows as already done in
Autotools.
  • Loading branch information
petk authored Aug 7, 2024
1 parent a9ad040 commit 77dd7c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config.w32
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
ARG_ENABLE("uopz", "for uopz support", "no");

if (PHP_UOPZ != "no") {
EXTENSION("uopz", "uopz.c");
EXTENSION("uopz", "uopz.c", null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
ADD_SOURCES(
configure_module_dirname + "/src",
"util.c return.c hook.c constant.c function.c class.c handlers.c executors.c",
configure_module_dirname + "/src",
"util.c return.c hook.c constant.c function.c class.c handlers.c executors.c",
"uopz"
);
);
ADD_FLAG("CFLAGS_UOPZ", "/I" + configure_module_dirname + "");
}

0 comments on commit 77dd7c1

Please sign in to comment.