summaryrefslogtreecommitdiff
path: root/main/openvpn/config-msvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/openvpn/config-msvc.h')
-rw-r--r--main/openvpn/config-msvc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/openvpn/config-msvc.h b/main/openvpn/config-msvc.h
index 99c00f9f..9a95ae65 100644
--- a/main/openvpn/config-msvc.h
+++ b/main/openvpn/config-msvc.h
@@ -89,7 +89,10 @@
#define strncasecmp strnicmp
#define strcasecmp _stricmp
#define snprintf _snprintf
+
+#if _MSC_VER < 1800
#define strtoull strtoul
+#endif
#define in_addr_t uint32_t
#define ssize_t SSIZE_T