From 4810b26797bc64a7d7bc851284a4e54bed30f46a Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Tue, 9 Sep 2014 17:25:25 +0000 Subject: [PATCH] [WINE/LIST] * Use an attribute that should work with both Clang and GCC. Brought to you by Thomas Faber. CORE-8516 svn path=/trunk/; revision=64092 --- reactos/include/reactos/wine/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/include/reactos/wine/list.h b/reactos/include/reactos/wine/list.h index 0cbbdc68845..05b2df3fd4a 100644 --- a/reactos/include/reactos/wine/list.h +++ b/reactos/include/reactos/wine/list.h @@ -24,8 +24,8 @@ #ifdef __cplusplus #define __WINE_SERVER_LIST_INLINE inline #else -#if defined(__GNUC__) && !defined(__clang__) -#define __WINE_SERVER_LIST_INLINE extern __inline__ __attribute__((__always_inline__)) +#if defined(__GNUC__) +#define __WINE_SERVER_LIST_INLINE extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) #elif defined(_MSC_VER) #define __WINE_SERVER_LIST_INLINE __inline #else