Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c852e95

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

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎src/pl/plperl/plperl.h

Copy file name to clipboardExpand all lines: src/pl/plperl/plperl.h
+7Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.