diff options
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 5cf0e6ffd8..3c93e1b5bd 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -76,6 +76,13 @@ typedef int ssize_t; #define likely(x) __builtin_expect((x), 1) #define unlikely(x) __builtin_expect((x), 0) #endif +#if _GNUTLS_GCC_VERSION >= 70100 +#define FALLTHROUGH __attribute__ ((fallthrough)) +#endif +#endif + +#ifndef FALLTHROUGH +# define FALLTHROUGH #endif #ifndef likely |