aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/win32.h')
-rw-r--r--src/include/port/win32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index 9f48a58aed4..bb2f7540b3d 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -35,7 +35,7 @@
* our errcode() function. Since it's likely to get included by standard
* system headers, pre-emptively include it now.
*/
-#if _MSC_VER >= 1400 || defined(HAVE_CRTDEFS_H)
+#if defined(_MSC_VER) || defined(HAVE_CRTDEFS_H)
#define errcode __msvc_errcode
#include <crtdefs.h>
#undef errcode