mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-08 04:30:47 +02:00
Prevent duplicate pragma defines in clang
This commit is contained in:
@@ -2082,7 +2082,7 @@ WOLFSSL_API word32 CheckRunTimeSettings(void);
|
||||
#define WC_MP_TO_RADIX
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ > 5
|
||||
#if defined(__GNUC__) && (__GNUC__ > 5) && !defined(__clang__)
|
||||
#define PRAGMA_GCC_DIAG_PUSH _Pragma("GCC diagnostic push")
|
||||
#define PRAGMA_GCC(str) _Pragma(str)
|
||||
#define PRAGMA_GCC_DIAG_POP _Pragma("GCC diagnostic pop")
|
||||
|
||||
Reference in New Issue
Block a user