diff options
-rw-r--r-- | src/util/macros.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/macros.h b/src/util/macros.h index 432d5139301..e3c785af508 100644 --- a/src/util/macros.h +++ b/src/util/macros.h @@ -137,8 +137,9 @@ do { \ #endif /* Forced function inlining */ +/* Note: Clang also sets __GNUC__ (see other cases below) */ #ifndef ALWAYS_INLINE -# if defined(__GNUC__) || defined(__clang__) +# if defined(__GNUC__) # define ALWAYS_INLINE inline __attribute__((always_inline)) # elif defined(_MSC_VER) # define ALWAYS_INLINE __forceinline |