From: James Yonan Date: Mon, 21 Apr 2014 01:10:03 -0600 Message-Id: <1398064204-26476-3-git-send-email-james@...515...> In-Reply-To: <1398064204-26476-1-git-send-email-james@...515...> References: <1398064204-26476-1-git-send-email-james@...515...> Subject: [Openvpn-devel] [PATCH 3/4] Use native strtoull() with MSVC 2013. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: openvpn-devel@lists.sourceforge.net Cc: James Yonan MSVC 2013 C library now defines strtoull() function, so use the native implementation when available. Signed-off-by: James Yonan --- config-msvc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config-msvc.h b/config-msvc.h index 99c00f9..9a95ae6 100644 --- a/config-msvc.h +++ b/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 -- 1.8.5.5