summaryrefslogtreecommitdiffstats
path: root/ta
diff options
context:
space:
mode:
Diffstat (limited to 'ta')
-rw-r--r--ta/ta.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ta/ta.h b/ta/ta.h
index 8fbb9ea171..05564be73b 100644
--- a/ta/ta.h
+++ b/ta/ta.h
@@ -27,7 +27,7 @@
#endif
// Broken crap with __USE_MINGW_ANSI_STDIO
-#ifdef __MINGW32__
+#if defined(__MINGW32__) && defined(__GNUC__) && !defined(__clang__)
#undef TA_PRF
#define TA_PRF(a1, a2) __attribute__ ((format (gnu_printf, a1, a2)))
#endif