aboutsummaryrefslogtreecommitdiff
path: root/src/helper/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/log.h')
-rw-r--r--src/helper/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/log.h b/src/helper/log.h
index 818716a..d52c05f 100644
--- a/src/helper/log.h
+++ b/src/helper/log.h
@@ -19,7 +19,7 @@
/* To achieve C99 printf compatibility in MinGW, gnu_printf should be
* used for __attribute__((format( ... ))), with GCC v4.4 or later
*/
-#if (defined(IS_MINGW) && (((__GNUC__ << 16) + __GNUC_MINOR__) >= 0x00040004))
+#if (defined(IS_MINGW) && (((__GNUC__ << 16) + __GNUC_MINOR__) >= 0x00040004)) && !defined(__clang__)
#define PRINTF_ATTRIBUTE_FORMAT gnu_printf
#else
#define PRINTF_ATTRIBUTE_FORMAT printf