]> The Tcpdump Group git mirrors - tcpdump/blobdiff - netdissect-stdinc.h
When checking pcap.h, make sure we look in ${PCAP_INCLUDE_DIRS}.
[tcpdump] / netdissect-stdinc.h
index 1324ae18f2d005eabc5a90837578c8403902bb9d..d78b66395f1b2c515afeae78dd2738f36060b1aa 100644 (file)
@@ -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.
  *