Commit c89f409
committed
plperl: windows: Use Perl_setlocale on 5.28+, fixing compile failure.
For older versions we need our own copy of perl's setlocale(), because it was
not exposed (why we need the setlocale in the first place is explained in
plperl_init_interp) . The copy stopped working in 5.28, as some of the used
macros are not public anymore. But Perl_setlocale is available in 5.28, so
use that.
Author: Victor Wagner <vitus@wagner.pp.ru>
Reviewed-By: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Discussion: https://postgr.es/m/20200501134711.08750c5f@antares.wagner.home
Backpatch: all versions1 parent d10e41d commit c89f409
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
| |||
4130 | 4132 | | |
4131 | 4133 | | |
4132 | 4134 | | |
| 4135 | + | |
| 4136 | + | |
4133 | 4137 | | |
4134 | | - | |
| 4138 | + | |
4135 | 4139 | | |
4136 | 4140 | | |
4137 | 4141 | | |
| |||
4199 | 4203 | | |
4200 | 4204 | | |
4201 | 4205 | | |
4202 | | - | |
4203 | | - | |
| 4206 | + | |
0 commit comments