1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix #19307: PGO builds of shared ext-intl are broken

We resolve the name mangling issue by including the right header file
inside an `extern "C"` declaration.

Closes GH-19310.
This commit is contained in:
Christoph M. Becker
2025-07-30 15:27:24 +02:00
parent 8538e2fe6b
commit 4754d302bf
2 changed files with 6 additions and 2 deletions

3
NEWS
View File

@@ -6,6 +6,9 @@ PHP NEWS
. Fixed bug GH-19305 (Operands may be being released during comparison).
(Arnaud)
- Intl:
. Fixed bug GH-19307 (PGO builds of shared ext-intl are broken). (cmb)
- Opcache:
. Fixed bug GH-19301 (opcache build failure). (Remi)

View File

@@ -20,8 +20,9 @@
#include <config.h>
#endif
#include <php.h>
extern "C" {
#include "../php_intl.h"
}
#include <unicode/uidna.h>
#include <unicode/ustring.h>