aboutsummaryrefslogtreecommitdiff
path: root/pcap/funcattrs.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-09-28 19:44:33 -0700
committerGuy Harris <guy@alum.mit.edu>2017-09-28 19:44:33 -0700
commitf00cf656dc7d58d18c26191ed0ae325dccb91031 (patch)
tree7b2dd818f0212d85d51545a6fca0324ebeedd144 /pcap/funcattrs.h
parentd16d92e520b7105c2d511bbe3e1ae4ce6cceda4f (diff)
Don't bother supporting pre-2005 Visual Studio.
2003 (or earlier!) called; it wants its Microsoft C compiler back.
Diffstat (limited to 'pcap/funcattrs.h')
-rw-r--r--pcap/funcattrs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap/funcattrs.h b/pcap/funcattrs.h
index a12576c5..a89f788d 100644
--- a/pcap/funcattrs.h
+++ b/pcap/funcattrs.h
@@ -196,7 +196,7 @@
/*
* For flagging arguments as format strings in MSVC.
*/
-#if _MSC_VER >= 1400
+#ifdef _MSC_VER
#include <sal.h>
#if _MSC_VER > 1400
#define PCAP_FORMAT_STRING(p) _Printf_format_string_ p