From 574b3e491b6ee87753bb1228376c62481ae5bfc3 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 10 Jul 2011 01:35:05 -0500 Subject: for now, don't use xs implementation on pre-5.014 perls they don't have the cv_set_call_checker stuff, and i'm not quite sure how Devel::CallChecker works --- lib/smartmatch/engine/core.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/smartmatch/engine/core.pm b/lib/smartmatch/engine/core.pm index 7bf5c02..6769350 100644 --- a/lib/smartmatch/engine/core.pm +++ b/lib/smartmatch/engine/core.pm @@ -8,7 +8,7 @@ use parent 'DynaLoader'; sub dl_load_flags { 0x01 } -if (!$smartmatch::engine::core::USE_PP) { +if (!$smartmatch::engine::core::USE_PP && $] >= 5.014) { __PACKAGE__->bootstrap( # we need to be careful not to touch $VERSION at compile time, # otherwise DynaLoader will assume it's set and check against it, which -- cgit v1.2.3-54-g00ecf