From a7fe2ef700fc2c8ca1326e66affedfa9c81743d7 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 6 Dec 2019 18:26:39 +0100 Subject: [PATCH] Use correct define in #ifdef, __linux__ not linux Signed-off-by: Joachim Nilsson --- src/syslogd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslogd.h b/src/syslogd.h index 98de174..217eb84 100644 --- a/src/syslogd.h +++ b/src/syslogd.h @@ -50,7 +50,7 @@ /* * Linux uses EIO instead of EBADFD (mrn 12 May 96) */ -#ifdef linux +#ifdef __linux__ #define EHANGUP EIO #else #define EHANGUP EBADFD