diff options
author | xtkoba <69125751+xtkoba@users.noreply.github.com> | 2021-05-05 07:45:23 +0900 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2021-05-04 20:38:25 -0400 |
commit | 44cff500a0ad565952e84935bc98523c36a91b06 (patch) | |
tree | 66a739f8d28bce8b743311347aaf6da0ca56762a /win32 | |
parent | 46dd295a53640a5ccf21688a5539ac50e17008f6 (diff) |
`_MSC_VER` may not be defined
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4453
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 940a85a4de..d358fc3171 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -42,7 +42,7 @@ #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 |