summaryrefslogtreecommitdiffhomepage
path: root/sysoptions.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2012-04-09 20:35:13 +0800
committerMatt Johnston <matt@ucc.asn.au>2012-04-09 20:35:13 +0800
commit49b79fa02d93a507df6caf93d3f4545ab057bea5 (patch)
tree1582d0634668a4920a2142ea2535831547ccb11c /sysoptions.h
parentc957edbe759ba8d708a882dcb9ab3b2aa1a72ad1 (diff)
Rename HAVE_FORK to USE_VFORK
It makes it a bit more obvious why there's a test there since HAVE_FORK is the normal case.
Diffstat (limited to 'sysoptions.h')
-rw-r--r--sysoptions.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysoptions.h b/sysoptions.h
index 283229e..ee5ff36 100644
--- a/sysoptions.h
+++ b/sysoptions.h
@@ -216,4 +216,10 @@
#define IS_DROPBEAR_SERVER 0
#define IS_DROPBEAR_CLIENT 0
-#endif
+#endif /* neither DROPBEAR_SERVER nor DROPBEAR_CLIENT */
+
+#ifndef HAVE_FORK
+#define USE_VFORK
+#endif /* don't HAVE_FORK */
+
+/* no include guard for this file */