diff --git a/include/sigar_private.h b/include/sigar_private.h index 484f83064..ee07ea0f5 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