summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/socket.c2
1 files changed, 1 insertions, 1 deletions
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