Update ICU C++ API symbols
authorJohn Naylor <john.naylor@postgresql.org>
Thu, 7 Aug 2025 10:16:33 +0000 (17:16 +0700)
committerJohn Naylor <john.naylor@postgresql.org>
Thu, 7 Aug 2025 10:16:33 +0000 (17:16 +0700)
commit9560c1ec1c9383c7e221c1cf9c29756bd7ecc08f
treea548a08753110bf2911951ac5d5cc0d7657b1a70
parent16013103356348f3315ec30e2a1e2312ee41095f
Update ICU C++ API symbols

Recent ICU versions have added U_SHOW_CPLUSPLUS_HEADER_API, and we need
to set this to zero as well to hide the ICU C++ APIs from pg_locale.h

Per discussion, we want cpluspluscheck to work cleanly in backbranches,
so backpatch both this and its predecessor commit ed26c4e25a4 to all
supported versions.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1115793.1754414782%40sss.pgh.pa.us
Backpatch-through: 13
src/include/utils/pg_locale.h