Skip to content

Commit 371422b

Browse files
dunglasTimWolla
andauthored
Zend/zend_call_stack.h: fix missing include on Windows (clang compat) (#20847)
Co-authored-by: Tim Düsterhus <tim@tideways-gmbh.com>
1 parent 3037526 commit 371422b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ PHP NEWS
99
. Fixed bug GH-21055 (connection attribute status typo for GSS negotiation).
1010
(lsaos)
1111

12+
- Windows:
13+
. Fixed compilation with clang (missing intrin.h include). (Kévin Dunglas)
14+
1215
12 Feb 2026, PHP 8.4.18
1316

1417
- Core:

Zend/zend_call_stack.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121

2222
#include "zend.h"
2323
#include "zend_portability.h"
24+
#ifdef _MSC_VER
25+
# include <intrin.h>
26+
#endif
2427
#ifdef __APPLE__
2528
# include <pthread.h>
2629
#endif

0 commit comments

Comments
 (0)