X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b3703ed9cfac43b0026fc2e2013e1612edad4300..c7dfcd6aaff12a95f7feaf237f8fa219a8752a1e:/netdissect-stdinc.h diff --git a/netdissect-stdinc.h b/netdissect-stdinc.h index 1324ae18..d78b6639 100644 --- a/netdissect-stdinc.h +++ b/netdissect-stdinc.h @@ -288,17 +288,10 @@ typedef char* caddr_t; #endif /* _WIN32 */ -#ifdef _MSC_VER - /* - * MSVC. - */ - #if _MSC_VER >= 1900 - /* - * VS 2015 or newer; we have snprintf() function. - */ - #define HAVE_SNPRINTF - #endif -#endif +/* + * Function attributes, for various compilers. + */ +#include "funcattrs.h" /* * On Windows, snprintf(), with that name and with C99 behavior - i.e., @@ -485,11 +478,6 @@ struct in6_addr { * end of Apple deprecation workaround macros */ -/* - * Function attributes, for various compilers. - */ -#include "funcattrs.h" - /* * Statement attributes, for various compilers. *