Skip to content

Commit c852e95

Browse files
committed
Supply now required HeUTF8 macro for plperl where it's missing, per buildfarm results.
1 parent fb7355e commit c852e95

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/pl/plperl/plperl.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@
4242
#undef bool
4343
#endif
4444

45+
/* supply HeUTF8 if it's missing - ppport.h doesn't supply it, unfortunately */
46+
#ifndef HeUTF8
47+
#define HeUTF8(he) ((HeKLEN(he) == HEf_SVKEY) ? \
48+
SvUTF8(HeKEY_sv(he)) : \
49+
(U32)HeKUTF8(he))
50+
#endif
51+
4552
/* declare routines from plperl.c for access by .xs files */
4653
HV *plperl_spi_exec(char *, int);
4754
void plperl_return_next(SV *);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy