From 77dd7c139fbfc763ad3b06d35054135e980faee6 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Wed, 7 Aug 2024 14:19:22 +0200 Subject: [PATCH] Add missing ZEND_ENABLE_STATIC_TSRMLS_CACHE on Windows (#183) This enables static tsrmls cache on Windows as already done in Autotools. --- config.w32 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.w32 b/config.w32 index 802f717..f860508 100644 --- a/config.w32 +++ b/config.w32 @@ -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 + ""); }