diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2024-12-09 15:04:01 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu.nakada@gmail.com> | 2025-11-19 11:03:42 +0900 |
| commit | 7743123551eded908f0606319a66df1f123c7cd9 (patch) | |
| tree | b2bc9b78547776a4d6ea12644eb114b95ad20926 /include | |
| parent | 25f9e678bfb118309300de90803fe1ba4751f7da (diff) | |
Win32: Drop support for older than MSVC 12.0/_MSC_VER 1800
Visual C++ 2013 (12.0):
- _MSC_VER: 1800
- MSVCRT_VERSION: 120
Diffstat (limited to 'include')
| -rw-r--r-- | include/ruby/win32.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h index 57e8ab471b..8d9f9ddd80 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -342,7 +342,7 @@ extern int rb_w32_dup2(int, int); #include <float.h> -#if defined _MSC_VER && _MSC_VER >= 1800 && defined INFINITY +#if defined _MSC_VER && defined INFINITY #pragma warning(push) #pragma warning(disable:4756) static inline float @@ -425,11 +425,6 @@ extern int rb_w32_utruncate(const char *path, rb_off_t length); #define HAVE_TRUNCATE 1 #define truncate rb_w32_utruncate -#if defined(_MSC_VER) && _MSC_VER < 1800 -#define strtoll _strtoi64 -#define strtoull _strtoui64 -#endif - /* * stubs */ |
