We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea0e09b commit 350afc2Copy full SHA for 350afc2
1 file changed
code/globalincs/toolchain/gcc.h
@@ -18,7 +18,8 @@
18
*/
19
#pragma once
20
21
-#if defined(__GNUC__)
+// per toolchain.h, clang takes precedence over gcc if they are both defined
22
+#if defined(__GNUC__) && !defined(__clang__)
23
24
#define SCP_FORMAT_STRING
25
#define SCP_FORMAT_STRING_ARGS(x,y) __attribute__((format(printf, x, y)))
0 commit comments