summaryrefslogtreecommitdiff
path: root/optimize.c
diff options
context:
space:
mode:
Diffstat (limited to 'optimize.c')
-rw-r--r--optimize.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/optimize.c b/optimize.c
index 2360ad30..4ea910e3 100644
--- a/optimize.c
+++ b/optimize.c
@@ -65,9 +65,10 @@ int pcap_optimizer_debug;
* GCC 3.4 and later; we have __builtin_ctz().
*/
#define lowest_set_bit(mask) __builtin_ctz(mask)
-#elif defined(_MSC_VER) && (_MSC_VER >= 1400)
+#elif defined(_MSC_VER)
/*
- * Visual Studio 2005 and later; use _BitScanForward().
+ * Visual Studio; we support only 2005 and later, so use
+ * _BitScanForward().
*/
#include <intrin.h>
#pragma intrinsic(_BitScanForward)