diff options
author | Tony Cook <tony@develop-help.com> | 2019-10-29 06:57:29 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2019-10-30 20:09:37 +0100 |
commit | 7599b8a978181c395f6013f4e8f736b5f7d07669 (patch) | |
tree | 3d5e5788fba8667470c2a9fed71e33655bbdc445 /feature.h | |
parent | 9f601cf3bbfa6be3e2ab3468e77a7b79c80ff5cf (diff) | |
download | perl-7599b8a978181c395f6013f4e8f736b5f7d07669.tar.gz |
remove now unneeded FEATURE_IS_ENABLED()
Diffstat (limited to 'feature.h')
-rw-r--r-- | feature.h | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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) |