X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/45fc519a2ac35af5805204418c370136aa0db1f7..refs/heads/mcr-macro-update-1:/funcattrs.h diff --git a/funcattrs.h b/funcattrs.h index 7fdbf925..f37e07e2 100644 --- a/funcattrs.h +++ b/funcattrs.h @@ -45,7 +45,7 @@ /* * This was introduced by Clang: * - * http://clang.llvm.org/docs/LanguageExtensions.html#has-attribute + * https://clang.llvm.org/docs/LanguageExtensions.html#has-attribute * * in some version (which version?); it has been picked up by GCC 5.0. */ @@ -138,13 +138,9 @@ /* * For flagging arguments as format strings in MSVC. */ -#if _MSC_VER >= 1400 +#ifdef _MSC_VER #include - #if _MSC_VER > 1400 - #define FORMAT_STRING(p) _Printf_format_string_ p - #else - #define FORMAT_STRING(p) __format_string p - #endif + #define FORMAT_STRING(p) _Printf_format_string_ p #else #define FORMAT_STRING(p) p #endif