]> The Tcpdump Group git mirrors - tcpdump/blobdiff - funcattrs.h
remove redundant ND_TCHECK, let GET_ routines handle checks
[tcpdump] / funcattrs.h
index 7fdbf9253932652a0194509b5ba881275e2d7a6e..f37e07e213bb4f1dbc1d08fdb8ac6cb266ae127a 100644 (file)
@@ -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.
  */
 /*
  * For flagging arguments as format strings in MSVC.
  */
-#if _MSC_VER >= 1400
+#ifdef _MSC_VER
  #include <sal.h>
- #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