Skip to content

Commit db83f91

Browse files
committed
Remove duplicate tsrmls cache define for static win build
1 parent e30dfb5 commit db83f91

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

patches/cli_static_85.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
2+
index e212a0f7..f16e8ea9 100644
3+
--- a/sapi/cli/php_cli.c
4+
+++ b/sapi/cli/php_cli.c
5+
@@ -98,7 +98,7 @@ PHPAPI extern char *php_ini_scanned_files;
6+
7+
#if defined(PHP_WIN32)
8+
#if defined(ZTS)
9+
-ZEND_TSRMLS_CACHE_DEFINE()
10+
+// ZEND_TSRMLS_CACHE_DEFINE()
11+
#endif
12+
static DWORD orig_cp = 0;
13+
#endif

0 commit comments

Comments
 (0)