aboutsummaryrefslogtreecommitdiff
path: root/libbutl/process.cxx
diff options
context:
space:
mode:
authormagenbluten <mb@64k.by>2020-06-16 16:56:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-18 12:53:01 +0200
commit639ff12af754d024a562925a52406ace0d3c673b (patch)
tree8eb6db32cb99a6ab659440c5bb5e3f66ad86e34b /libbutl/process.cxx
parente1da4d682173d6adbc0e5c99ec1b3c8c9a948957 (diff)
Add NetBSD compatibility
Diffstat (limited to 'libbutl/process.cxx')
-rw-r--r--libbutl/process.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbutl/process.cxx b/libbutl/process.cxx
index 142d159..2dc3809 100644
--- a/libbutl/process.cxx
+++ b/libbutl/process.cxx
@@ -43,6 +43,8 @@
//
# elif defined(__FreeBSD__) && __FreeBSD__ >= 8
# define LIBBUTL_POSIX_SPAWN
+# elif defined(__NetBSD__)
+# define LIBBUTL_POSIX_SPAWN
//
// posix_spawn() appeared in Version 3 of the Single UNIX Specification that
// was implemented in MacOS 10.5 (see the man page for details).