Skip to contentSkip to conversation

MSVC 2013 C library now defines strtoull() function, so use the native implementation when available.

PATCH New James Yonan 1 participant 1 message Feb 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MSVC 2013 C library now defines strtoull() function, so use the native implementation when available.

---
 config-msvc.h | 3 +++
 1 file changed, 3 insertions(+)
config-msvc.h +3 -0
index 99c00f9..9a95ae6 100644
@@ -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
Signature · 1 line
1.8.5.3