We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b96a836 commit f11d115Copy full SHA for f11d115
1 file changed
wolfssl/wolfcrypt/types.h
@@ -2082,7 +2082,7 @@ WOLFSSL_API word32 CheckRunTimeSettings(void);
2082
#define WC_MP_TO_RADIX
2083
#endif
2084
2085
-#if defined(__GNUC__) && __GNUC__ > 5
+#if defined(__GNUC__) && (__GNUC__ > 5) && !defined(__clang__)
2086
#define PRAGMA_GCC_DIAG_PUSH _Pragma("GCC diagnostic push")
2087
#define PRAGMA_GCC(str) _Pragma(str)
2088
#define PRAGMA_GCC_DIAG_POP _Pragma("GCC diagnostic pop")
0 commit comments