summaryrefslogtreecommitdiff
path: root/feature.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2015-01-03 22:20:17 -0800
committerFather Chrysostomos <sprout@cpan.org>2015-01-31 22:03:50 -0800
commitcec892e70ee3421ec1820fe8e5df17cb07e1a686 (patch)
treef72448ccd3a1e9d1a70abccfe7cf0355e20e19a4 /feature.h
parent5d01050abccabc9ab4309d80d4b603d68575e0a8 (diff)
downloadperl-cec892e70ee3421ec1820fe8e5df17cb07e1a686.tar.gz
Add bitwise feature feature
Diffstat (limited to 'feature.h')
-rw-r--r--feature.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/feature.h b/feature.h
index 370896e01e..ba796eb8bd 100644
--- a/feature.h
+++ b/feature.h
@@ -60,6 +60,12 @@
FEATURE_IS_ENABLED("switch")) \
)
+#define FEATURE_BITWISE_IS_ENABLED \
+ ( \
+ CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_CUSTOM && \
+ FEATURE_IS_ENABLED("bitwise") \
+ )
+
#define FEATURE_EVALBYTES_IS_ENABLED \
( \
CURRENT_FEATURE_BUNDLE == FEATURE_BUNDLE_515 \