summaryrefslogtreecommitdiff
path: root/src/posixos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/posixos.c')
-rw-r--r--src/posixos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/posixos.c b/src/posixos.c
index 0fe0948a..0cc0a585 100644
--- a/src/posixos.c
+++ b/src/posixos.c
@@ -147,8 +147,8 @@ jobserver_setup (int slots, const char *style)
{
int r;
-#if HAVE_MKFIFO
- if (style == NULL || strcmp (style, "fifo") == 0)
+#if JOBSERVER_USE_FIFO
+ if (!style || strcmp (style, "fifo") == 0)
{
/* Unfortunately glibc warns about uses of mktemp even though we aren't
using it in dangerous way here. So avoid this by generating our own