From b7706508635ca355c0725b51a4dc1a205b4484a3 Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Wed, 8 Feb 2023 12:40:58 -0500 Subject: [PATCH] rts: Fix incorrect CPP guard --- rts/posix/Ticker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rts/posix/Ticker.c b/rts/posix/Ticker.c index 4adefdf9aaa0..18bf1179dde5 100644 --- a/rts/posix/Ticker.c +++ b/rts/posix/Ticker.c @@ -71,7 +71,7 @@ * For older version of linux/netbsd without timerfd we fall back to the * pthread based implementation. */ -#if HAVE_SYS_TIMERFD_H +#if defined(HAVE_SYS_TIMERFD_H) #define USE_TIMERFD_FOR_ITIMER #endif -- GitLab