X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/11fcafcf6928d793411ae3dba9af324e3d027bb2..6df678ca315946ed6190bc8fe0a80f3c36d246c4:/netdissect-stdinc.h diff --git a/netdissect-stdinc.h b/netdissect-stdinc.h index c7070f0a..fb385fb9 100644 --- a/netdissect-stdinc.h +++ b/netdissect-stdinc.h @@ -401,4 +401,10 @@ struct in6_addr { #define max(a,b) ((b)>(a)?(b):(a)) #endif +#ifdef __ATTRIBUTE___FALLTHROUGH_OK +# define ND_FALL_THROUGH __attribute__ ((fallthrough)) +#else +# define ND_FALL_THROUGH +#endif /* __ATTRIBUTE___FALLTHROUGH_OK */ + #endif /* netdissect_stdinc_h */