p4raw-id: //depot/perl@26635
#define Ctl(ch) ((ch) & 037)
+/* concatenating with "" ensures that only literal strings are accepted as agument */
+#define STR_WITH_LEN(s) (s ""), (sizeof(s)-1)
+
/*
=head1 Miscellaneous Functions
#define FEATURE_IS_ENABLED(name) \
((0 != (PL_hints & HINT_LOCALIZE_HH)) \
- && feature_is_enabled((name ""), sizeof(name)-1))
+ && feature_is_enabled(STR_WITH_LEN(name)))
/*
* S_feature_is_enabled
* Check whether the named feature is enabled.