diff --git a/include/sigar_private.h b/include/sigar_private.h index 11e62cd87..6c4e61fee 100644 --- a/include/sigar_private.h +++ b/include/sigar_private.h @@ -73,7 +73,7 @@ #if defined(WIN32) # define SIGAR_INLINE __inline -#elif defined(__GNUC__) +#elif defined(__GNUC__) && !defined(__clang__) # define SIGAR_INLINE inline #else # define SIGAR_INLINE