diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-01-27 16:52:31 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2023-02-07 22:51:53 +0100 |
commit | 4e61877b5c64096fa3ea63bf5ead7e17e1ddef66 (patch) | |
tree | 07c57de1ca973d438b0293672615822b60a23e67 /src | |
parent | d834de2894b5addc5a4a8c5088debd56a8517db1 (diff) |
More #ifdef
Diffstat (limited to 'src')
-rw-r--r-- | src/libutil/namespaces.hh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libutil/namespaces.hh b/src/libutil/namespaces.hh index ad7bb559e..34e54d5ad 100644 --- a/src/libutil/namespaces.hh +++ b/src/libutil/namespaces.hh @@ -2,10 +2,14 @@ namespace nix { +#if __linux__ + bool userNamespacesSupported(); bool mountNamespacesSupported(); bool pidNamespacesSupported(); +#endif + } |