ruby-changes:66055
From: xtkoba <ko1@a...>
Date: Wed, 5 May 2021 09:38:35 +0900 (JST)
Subject: [ruby-changes:66055] 44cff500a0 (master): `_MSC_VER` may not be defined
https://git.ruby-lang.org/ruby.git/commit/?id=44cff500a0 From 44cff500a0ad565952e84935bc98523c36a91b06 Mon Sep 17 00:00:00 2001 From: xtkoba <69125751+xtkoba@u...> Date: Wed, 5 May 2021 07:45:23 +0900 Subject: `_MSC_VER` may not be defined --- win32/win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/win32.c b/win32/win32.c index 940a85a..d358fc3 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -42,7 +42,7 @@ https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L42 #include <shlobj.h> #include <mbstring.h> #include <shlwapi.h> -#if _MSC_VER >= 1400 +#if defined _MSC_VER && _MSC_VER >= 1400 #include <crtdbg.h> #include <rtcapi.h> #endif -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/