From 15153f5406b7dd96b189592b4e84ebcd180a3cde Mon Sep 17 00:00:00 2001 From: Emil Ljungdahl <111423223+pando-emil@users.noreply.github.com> Date: Mon, 31 Oct 2022 19:06:24 +0100 Subject: [PATCH] Repair MSVC CI builds (#1066) The MSVC CI pipelines broke in #1056 due to the bump in C standard version. --- src/apps/relay/libtelnet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/relay/libtelnet.c b/src/apps/relay/libtelnet.c index 1fdf826..f2e65a0 100644 --- a/src/apps/relay/libtelnet.c +++ b/src/apps/relay/libtelnet.c @@ -43,8 +43,10 @@ #include "libtelnet.h" /* inlinable functions */ -#if defined(__GNUC__) || __STDC_VERSION__ >= 199901L +#if defined(__GNUC__) # define INLINE __inline__ +#elif __STDC_VERSION__ >= 199901L +# define INLINE inline #else # define INLINE #endif