We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb7355e commit c852e95Copy full SHA for c852e95
src/pl/plperl/plperl.h
@@ -42,6 +42,13 @@
42
#undef bool
43
#endif
44
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
+
52
/* declare routines from plperl.c for access by .xs files */
53
HV *plperl_spi_exec(char *, int);
54
void plperl_return_next(SV *);
0 commit comments