summaryrefslogtreecommitdiff
path: root/cpan/ExtUtils-Constant
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-19 11:14:25 +0200
committerNicholas Clark <nick@ccl4.org>2010-10-19 11:14:25 +0200
commit0eedeed40b39b3e37aa3a674c182ccda0c738aa6 (patch)
tree83c6a0cbecebb8de4c147d7ac6b5f51071ff048b /cpan/ExtUtils-Constant
parent023257bf4912ddb30fcdb73a58bce3d84974b8dc (diff)
downloadperl-0eedeed40b39b3e37aa3a674c182ccda0c738aa6.tar.gz
Improve the generated C code for $xs_subname for Proxy Constant Subroutines.
Diffstat (limited to 'cpan/ExtUtils-Constant')
-rw-r--r--cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm
index 0005f13430..1d85abf85e 100644
--- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm
+++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/ProxySubs.pm
@@ -538,18 +538,17 @@ $xs_subname(sv)
INPUT:
SV * sv;
PPCODE:
-#ifdef SYMBIAN
- sv = newSVpvf("%"SVf" is not a valid $package_sprintf_safe macro", sv);
-#else
+#ifndef SYMBIAN
HV *${c_subname}_missing = get_missing_hash(aTHX);
if (hv_exists_ent(${c_subname}_missing, sv, 0)) {
sv = newSVpvf("Your vendor has not defined $package_sprintf_safe macro %" SVf
", used", sv);
- } else {
+ } else
+#endif
+ {
sv = newSVpvf("%"SVf" is not a valid $package_sprintf_safe macro",
sv);
}
-#endif
PUSHs(sv_2mortal(sv));
DONT