summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/win32.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index 070bab28f9..1219a48399 100644
--- a/include/ruby/win32.h
+++ b/include/ruby/win32.h
@@ -463,6 +463,11 @@ extern int rb_w32_truncate(const char *path, off_t length);
#define truncate rb_w32_truncate
#endif
+#if defined(_MSC_VER) && _MSC_VER >= 1400 && _MSC_VER < 1800
+#define strtoll _strtoi64
+#define strtoull _strtoui64
+#endif
+
/*
* stubs
*/