aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.posix/fexecv.ccm
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-29 20:29:50 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-29 20:29:50 +0100
commit3e7902f7d790a486d3d9cb978df193f07f3a6ad9 (patch)
treefd9815cf214daeec1cad826e040cf8a0cbb6be33 /nihil.posix/fexecv.ccm
parent67b2fae1fa8b033045a44c1355d9dfd8f83e0d9b (diff)
downloadnihil-3e7902f7d790a486d3d9cb978df193f07f3a6ad9.tar.gz
nihil-3e7902f7d790a486d3d9cb978df193f07f3a6ad9.tar.bz2
finish macOS support
Diffstat (limited to 'nihil.posix/fexecv.ccm')
-rw-r--r--nihil.posix/fexecv.ccm8
1 files changed, 4 insertions, 4 deletions
diff --git a/nihil.posix/fexecv.ccm b/nihil.posix/fexecv.ccm
index 5ad6c62..1fe57a8 100644
--- a/nihil.posix/fexecv.ccm
+++ b/nihil.posix/fexecv.ccm
@@ -9,8 +9,6 @@ module;
#include "nihil.hh"
-#ifdef NIHIL_HAVE_FEXECVE
-
export module nihil.posix:fexecv;
import nihil.error;
@@ -20,6 +18,8 @@ import :fd;
namespace nihil {
+#ifdef NIHIL_HAVE_FEXECVE
+
/*
* fexecv: use a file descriptor and an argument vector to call ::fexecve().
* This is the lowest-level executor which all others are implemented
@@ -48,6 +48,6 @@ private:
argv m_args;
};
-} // namespace nihil
+#endif // NIHIL_HAVE_FEXECVE
-#endif // NIHIL_HAVE_FEXECVE \ No newline at end of file
+} // namespace nihil