From fb8a6ae610076c3287cb4bfe8e09b0789ff7dd3e Mon Sep 17 00:00:00 2001 From: MARiA so cute <33935209+NathanFreeman@users.noreply.github.com> Date: Tue, 7 Jan 2025 12:46:28 +0800 Subject: [PATCH] add zstd macro --- ext-src/php_swoole_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext-src/php_swoole_private.h b/ext-src/php_swoole_private.h index 7e5ab5b23b..ee931acb5e 100644 --- a/ext-src/php_swoole_private.h +++ b/ext-src/php_swoole_private.h @@ -116,7 +116,7 @@ extern PHPAPI int php_array_merge(zend_array *dest, zend_array *src); #endif #endif -#if defined(SW_HAVE_ZLIB) || defined(SW_HAVE_BROTLI) +#if defined(SW_HAVE_ZLIB) || defined(SW_HAVE_BROTLI) || defined(SW_HAVE_ZSTD) #define SW_HAVE_COMPRESSION #endif