From 7599b8a978181c395f6013f4e8f736b5f7d07669 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Tue, 29 Oct 2019 06:57:29 +1100 Subject: remove now unneeded FEATURE_IS_ENABLED() --- feature.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'feature.h') 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) -- cgit v1.2.1