forked from wolfSSL/wolfssl
wolfcrypt/types.h: fix FALL_THROUGH macro to work warning-free on gcc-11.
This commit is contained in:
@ -300,7 +300,7 @@ decouple library dependencies with standard string, memory and so on.
|
|||||||
#if defined(WOLFSSL_LINUXKM) && defined(fallthrough)
|
#if defined(WOLFSSL_LINUXKM) && defined(fallthrough)
|
||||||
#define FALL_THROUGH fallthrough
|
#define FALL_THROUGH fallthrough
|
||||||
#else
|
#else
|
||||||
#define FALL_THROUGH __attribute__ ((fallthrough));
|
#define FALL_THROUGH ; __attribute__ ((fallthrough))
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user