summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-02-13 03:23:27 +0100
committerGravatar Nikias Bassen2025-02-13 03:23:27 +0100
commit396c80159437932d1c3e7d3aa272efa5514a6a09 (patch)
tree1044493d634e601a1a9ce94f2a5910b3407254f4
parent87f449204f59d1a7401237c77e23bf7c111ab3b2 (diff)
downloadlibimobiledevice-glue-396c80159437932d1c3e7d3aa272efa5514a6a09.tar.gz
libimobiledevice-glue-396c80159437932d1c3e7d3aa272efa5514a6a09.tar.bz2
socket: Update inline attributes for gcc/clang
-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