summaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/libarchive/xxhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/3rdparty/libarchive/xxhash.c')
-rw-r--r--src/libs/3rdparty/libarchive/xxhash.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libs/3rdparty/libarchive/xxhash.c b/src/libs/3rdparty/libarchive/xxhash.c
index 70750bae0..f96e9d934 100644
--- a/src/libs/3rdparty/libarchive/xxhash.c
+++ b/src/libs/3rdparty/libarchive/xxhash.c
@@ -150,7 +150,11 @@ typedef struct _U32_S { U32 v; } _PACKED U32_S;
#if GCC_VERSION >= 409
__attribute__((__no_sanitize_undefined__))
#endif
-static inline U32 A32(const void * x)
+#if defined(_MSC_VER)
+static __inline U32 A32(const void * x)
+#else
+static inline U32 A32(const void* x)
+#endif
{
return (((const U32_S *)(x))->v);
}