forked from wolfSSL/wolfssl
Peer review fix (second try)
This commit is contained in:
@ -293,7 +293,6 @@ decouple library dependencies with standard string, memory and so on.
|
||||
/* GCC 7 has new switch() fall-through detection */
|
||||
#if defined(__GNUC__)
|
||||
#if ((__GNUC__ > 7) || ((__GNUC__ == 7) && (__GNUC_MINOR__ >= 1)))
|
||||
#undef FALL_THROUGH
|
||||
#if defined(WOLFSSL_LINUXKM) && defined(fallthrough)
|
||||
#define FALL_THROUGH fallthrough
|
||||
#else
|
||||
@ -304,6 +303,7 @@ decouple library dependencies with standard string, memory and so on.
|
||||
#endif /* FALL_THROUGH */
|
||||
#if !defined(FALL_THROUGH) || defined(__XC32)
|
||||
/* use stub for fall through by default or for Microchip compiler */
|
||||
#undef FALL_THROUGH
|
||||
#define FALL_THROUGH
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user