diff --git a/src/image_int.hpp b/src/image_int.hpp index ae2aa9a1..2ab4f4c7 100644 --- a/src/image_int.hpp +++ b/src/image_int.hpp @@ -35,7 +35,7 @@ // + standard includes #include -#if (defined(__GNUG__) || defined(__GNUC__)) && ! defined(__clang__) +#if (defined(__GNUG__) || defined(__GNUC__)) || defined(__clang__) #define ATTRIBUTE_FORMAT_PRINTF __attribute__((format(printf, 1, 0))) #else #define ATTRIBUTE_FORMAT_PRINTF