1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/databases/p5-DBD-SQLite/files/patch-dbdimp.h

13 lines
312 B
C

--- dbdimp.h.orig 2021-06-05 16:28:51 UTC
+++ dbdimp.h
@@ -222,6 +222,9 @@ newUTF8SVpvn(char *s, STRLEN len) {
#define newUTF8SVpvn newSVpvn
#define SvUTF8_on(a) (a)
#define SvUTF8_off(a) (a)
+#ifndef get_sv
+#define get_sv perl_get_sv
+#endif
#define sv_utf8_upgrade(a) (a)
#endif /* #ifdef SvUTF8_on */