diff options
author | Florian Ragwitz <rafl@debian.org> | 2010-08-16 03:08:01 +0200 |
---|---|---|
committer | Florian Ragwitz <rafl@debian.org> | 2010-08-16 03:08:01 +0200 |
commit | e774d6049b5edab9f5afa9a304cdf25f70bd5d37 (patch) | |
tree | 268d9f41986ff371960773308b9a92d7045ebf3a /ext/XS-APItest/t/xs_special_subs.t | |
parent | 666e7765a1af9c81577039073e9ff43b19d9110f (diff) | |
download | perl-e774d6049b5edab9f5afa9a304cdf25f70bd5d37.tar.gz |
Remove MacOS 9 support code from XS-APItest
EUMM dropped support for it ages ago, and so did perl core a couple of releases
back. This is an attempt to stop MacOS 9 support from being cargo-culted into
new XS-APItest tests.
Diffstat (limited to 'ext/XS-APItest/t/xs_special_subs.t')
-rw-r--r-- | ext/XS-APItest/t/xs_special_subs.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/XS-APItest/t/xs_special_subs.t b/ext/XS-APItest/t/xs_special_subs.t index 90f54dccc6..e058a223dd 100644 --- a/ext/XS-APItest/t/xs_special_subs.t +++ b/ext/XS-APItest/t/xs_special_subs.t @@ -1,14 +1,13 @@ #!perl -w BEGIN { - push @INC, "::lib:$MacPerl::Architecture:" if $^O eq 'MacOS'; require Config; import Config; if ($Config{'extensions'} !~ /\bXS\/APItest\b/) { print "1..0 # Skip: XS::APItest was not built\n"; exit 0; } # Hush the used only once warning. - $XS::APItest::WARNINGS_ON_BOOTSTRAP = $MacPerl::Architecture; + no warnings 'once'; $XS::APItest::WARNINGS_ON_BOOTSTRAP = 1; } |