Skip to content

Commit

Permalink
Don't inline when compiling with Clang hyperic#44
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhanyin committed Aug 27, 2024
1 parent 2da9a99 commit aec7cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/sigar_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aec7cc1

Please sign in to comment.