summaryrefslogtreecommitdiff
path: root/ext/B
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-02-21 16:28:02 +0000
committerNicholas Clark <nick@ccl4.org>2006-02-21 16:28:02 +0000
commite678f8d36a88cb1c3542ecd26158b5482e6f3af3 (patch)
tree0091d8985cec9e7e4861d42bbfed707ede847a5f /ext/B
parentf73ef291429b5bbca51e74d1a29b172b5d7304ea (diff)
downloadperl-e678f8d36a88cb1c3542ecd26158b5482e6f3af3.tar.gz
Teach B about CVf_ISXSUB
p4raw-id: //depot/perl@27261
Diffstat (limited to 'ext/B')
-rw-r--r--ext/B/defsubs_h.PL1
-rw-r--r--ext/B/t/concise-xs.t2
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/B/defsubs_h.PL b/ext/B/defsubs_h.PL
index 1a87772a53..f8c4225103 100644
--- a/ext/B/defsubs_h.PL
+++ b/ext/B/defsubs_h.PL
@@ -22,6 +22,7 @@ foreach my $const (qw(
CVf_LVALUE
CVf_METHOD
CVf_NODEBUG
+ CVf_ISXSUB
CVf_UNIQUE
CVf_WEAKOUTSIDE
GVf_IMPORTED_AV
diff --git a/ext/B/t/concise-xs.t b/ext/B/t/concise-xs.t
index 447c13dcc9..dcd868fa0f 100644
--- a/ext/B/t/concise-xs.t
+++ b/ext/B/t/concise-xs.t
@@ -117,7 +117,7 @@ use Getopt::Std;
use Carp;
use Test::More tests => ( # per-pkg tests (function ct + require_ok)
40 + 16 # Data::Dumper, Digest::MD5
- + 511 + 233 # B::Deparse, B
+ + 511 + 234 # B::Deparse, B
+ 588 + 189 # POSIX, IO::Socket
+ 3 * ($] > 5.009)
+ 14 * ($] >= 5.009003)