summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2018-11-20 15:55:43 +0100
committerGary Lockyer <gary@samba.org>2018-11-28 23:19:23 +0100
commit0c69078f3ccf46ffe897d753332e6e46a2dc37e2 (patch)
treec01ae7222cf0f7d68b2f180bf9ede8f36c5e8a49 /source3/nmbd
parent32fda4fc64cceb8b0c268322edc9ce86cc9dfed0 (diff)
downloadsamba-0c69078f3ccf46ffe897d753332e6e46a2dc37e2.tar.gz
s3:nmbd: Use #ifdef instead of #if for config.h definitions
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index fa2bfbb287a..9d6cac99a63 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -957,7 +957,7 @@ static bool open_sockets(bool isdaemon, int port)
become_daemon(Fork, no_process_group, log_stdout);
}
-#if HAVE_SETPGID
+#ifdef HAVE_SETPGID
/*
* If we're interactive we want to set our own process group for
* signal management.