From 396c80159437932d1c3e7d3aa272efa5514a6a09 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 13 Feb 2025 03:23:27 +0100 Subject: socket: Update inline attributes for gcc/clang --- src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socket.c') diff --git a/src/socket.c b/src/socket.c index f4e6590..fe9f4d9 100644 --- a/src/socket.c +++ b/src/socket.c @@ -166,7 +166,7 @@ enum poll_status #ifdef _MSC_VER #define ALWAYS_INLINE __forceinline #else -#define ALWAYS_INLINE __attribute__((always_inline)) +#define ALWAYS_INLINE __inline__ __attribute__((__always_inline__)) #endif #ifdef _WIN32 -- cgit v1.1-32-gdbae