summaryrefslogtreecommitdiff
path: root/feature.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-12-22 09:41:37 -0800
committerFather Chrysostomos <sprout@cpan.org>2011-12-24 09:25:12 -0800
commitf2c01b15f5d3274b0f6ed66037d846fb617bf496 (patch)
tree6e5f35a86378710213580d65594c9405a311ffdc /feature.h
parent23a52d6b1d16cc250eb1dba0dc48439ff677e635 (diff)
downloadperl-f2c01b15f5d3274b0f6ed66037d846fb617bf496.tar.gz
Add feature.h, with constants for feature bundles
Diffstat (limited to 'feature.h')
-rw-r--r--feature.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/feature.h b/feature.h
new file mode 100644
index 0000000000..03468f27c0
--- /dev/null
+++ b/feature.h
@@ -0,0 +1,20 @@
+/* -*- buffer-read-only: t -*-
+ !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
+ This file is built by regen/feature.pl.
+ Any changes made here will be lost!
+ */
+
+
+#if defined(PERL_CORE) || defined (PERL_EXT)
+
+#define HINT_FEATURE_SHIFT 26
+
+#define FEATURE_BUNDLE_DEFAULT 0
+#define FEATURE_BUNDLE_510 1
+#define FEATURE_BUNDLE_511 2
+#define FEATURE_BUNDLE_515 3
+#define FEATURE_BUNDLE_CUSTOM HINT_FEATURE_MASK >> HINT_FEATURE_SHIFT
+
+#endif /* PERL_CORE or PERL_EXT */
+
+/* ex: set ro: */