summaryrefslogtreecommitdiff
path: root/feature.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2019-10-29 06:57:29 +1100
committerTony Cook <tony@develop-help.com>2019-10-30 20:09:37 +0100
commit7599b8a978181c395f6013f4e8f736b5f7d07669 (patch)
tree3d5e5788fba8667470c2a9fed71e33655bbdc445 /feature.h
parent9f601cf3bbfa6be3e2ab3468e77a7b79c80ff5cf (diff)
downloadperl-7599b8a978181c395f6013f4e8f736b5f7d07669.tar.gz
remove now unneeded FEATURE_IS_ENABLED()
Diffstat (limited to 'feature.h')
-rw-r--r--feature.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/feature.h b/feature.h
index 111c8a1c64..31902e1e23 100644
--- a/feature.h
+++ b/feature.h
@@ -39,13 +39,6 @@
#define CURRENT_FEATURE_BUNDLE \
((CURRENT_HINTS & HINT_FEATURE_MASK) >> HINT_FEATURE_SHIFT)
-/* Avoid using ... && Perl_feature_is_enabled(...) as that triggers a bug in
- the HP-UX cc on PA-RISC */
-#define FEATURE_IS_ENABLED(name) \
- ((CURRENT_HINTS \
- & HINT_LOCALIZE_HH) \
- ? Perl_feature_is_enabled(aTHX_ STR_WITH_LEN(name)) : FALSE)
-
#define FEATURE_IS_ENABLED_MASK(mask) \
((CURRENT_HINTS & HINT_LOCALIZE_HH) \
? (PL_curcop->cop_features & (mask)) : FALSE)