Repair MSVC CI builds (#1066)

The MSVC CI pipelines broke in #1056 due to the bump in C standard
version.
This commit is contained in:
Emil Ljungdahl 2022-10-31 19:06:24 +01:00 committed by GitHub
parent 19ee59c3fe
commit 15153f5406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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