Content-Length: 265591 | pFad | http://github.com/postgrespro/postgres/commit/c852e95b0bcbe708ba64b9499e50b9cc98bd7b71

C1 Supply now required HeUTF8 macro for plperl where it's missing, per b… · postgrespro/postgres@c852e95 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c852e95b0bcbe708ba64b9499e50b9cc98bd7b71

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy