summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-07-21 12:05:36 -0400
committerJesse Luehrs <doy@tozt.net>2013-07-21 12:05:36 -0400
commit9833f867838e32a8bc969ff3a34ff2157a54cdba (patch)
tree841b04cd3ec680c6d5803df5546e981cd6eb044a
parent86e3d17b0c3411579c8f8e3084a82af9a2048201 (diff)
downloadparse-keyword-9833f867838e32a8bc969ff3a34ff2157a54cdba.tar.gz
parse-keyword-9833f867838e32a8bc969ff3a34ff2157a54cdba.zip
cv_clone wasn't public in 5.14
-rw-r--r--Keyword.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Keyword.xs b/Keyword.xs
index 4a094e4..05d42c6 100644
--- a/Keyword.xs
+++ b/Keyword.xs
@@ -3,6 +3,10 @@
#include "callparser1.h"
#include "XSUB.h"
+#ifndef cv_clone
+#define cv_clone(a) Perl_cv_clone(aTHX_ a)
+#endif
+
#define REENTER_PARSER STMT_START { \
ENTER; \
PL_curcop = &PL_compiling; \