提交 c852e95b 编写于 作者: A Andrew Dunstan

Supply now required HeUTF8 macro for plperl where it's missing, per buildfarm results.

上级 fb7355e0
...@@ -42,6 +42,13 @@ ...@@ -42,6 +42,13 @@
#undef bool #undef bool
#endif #endif
/* supply HeUTF8 if it's missing - ppport.h doesn't supply it, unfortunately */
#ifndef HeUTF8
#define HeUTF8(he) ((HeKLEN(he) == HEf_SVKEY) ? \
SvUTF8(HeKEY_sv(he)) : \
(U32)HeKUTF8(he))
#endif
/* declare routines from plperl.c for access by .xs files */ /* declare routines from plperl.c for access by .xs files */
HV *plperl_spi_exec(char *, int); HV *plperl_spi_exec(char *, int);
void plperl_return_next(SV *); void plperl_return_next(SV *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册