aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.core/features.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.core/features.ccm')
-rw-r--r--nihil.core/features.ccm13
1 files changed, 13 insertions, 0 deletions
diff --git a/nihil.core/features.ccm b/nihil.core/features.ccm
new file mode 100644
index 0000000..5c6631b
--- /dev/null
+++ b/nihil.core/features.ccm
@@ -0,0 +1,13 @@
+// This source code is released into the public domain.
+module;
+
+#include "nihil.hh"
+
+export module nihil.core:features;
+
+namespace nihil::features {
+
+export inline constexpr bool fexecve = NIHIL_HAVE_FEXECVE;
+export inline constexpr bool getenv_r = NIHIL_HAVE_GETENV_R;
+
+} // namespace nihil::features