[php-src] master: Do not install internal main/io headers on Windows (#23003)
| From: | Weilin Du via GitHub | Date: | Mon, 03 Aug 2026 10:05:20 +0000 |
| Subject: | [php-src] master: Do not install internal main/io headers on Windows (#23003) | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-140423@lists.php.net to get a copy of this message | ||
Author: Weilin Du (LamentXU123)
Committer: GitHub (web-flow)
Pusher: LamentXU123
Date: 2026-08-03T18:05:17+08:00
Commit: https://github.com/php/php-src/commit/fa4650b9381e0e32ddc1cc29bfeb2a7016ee815b
Raw diff: https://github.com/php/php-src/commit/fa4650b9381e0e32ddc1cc29bfeb2a7016ee815b.diff
Do not install internal main/io headers on Windows (#23003)
Remove main/io from the Windows PHP_INSTALL_HEADERS list so Windows matches the
Autotools behavior. main/php_io.h should be exported publicly.
Changed paths:
M win32/build/config.w32
Diff:
diff --git a/win32/build/config.w32 b/win32/build/config.w32
index 012c52499b64..f352d4c794aa 100644
--- a/win32/build/config.w32
+++ b/win32/build/config.w32
@@ -315,7 +315,7 @@ ADD_SOURCES("win32", "dllmain.c readdir.c \
ADD_FLAG("CFLAGS_BD_WIN32", "/D ZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
-PHP_INSTALL_HEADERS("", "Zend/ TSRM/ main/ main/io main/streams/ win32/");
+PHP_INSTALL_HEADERS("", "Zend/ TSRM/ main/ main/streams/ win32/");
PHP_INSTALL_HEADERS("Zend/Optimizer", "zend_call_graph.h zend_cfg.h zend_dfg.h
zend_dump.h zend_func_info.h zend_inference.h zend_optimizer.h zend_ssa.h zend_worklist.h");
STDOUT.WriteBlankLines(1);