mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[MSWin] Allow gems with VS2022 for VS2019 build ruby [Misc #18362]
Although not sure if it is really compatible, let’s give it a try.
This commit is contained in:
parent
f07f476518
commit
0b66121484
1 changed files with 4 additions and 1 deletions
|
@ -200,7 +200,10 @@ echo ABI_VERSION = RUBY_ABI_VERSION
|
|||
echo RUBY_DEVEL = yes
|
||||
#endif
|
||||
set /a MSC_VER = _MSC_VER
|
||||
#if _MSC_VER > 1900
|
||||
#if _MSC_VER >= 1920
|
||||
set /a MSC_VER_LOWER = MSC_VER/20*20+0
|
||||
set /a MSC_VER_UPPER = MSC_VER/20*20+19
|
||||
#elif _MSC_VER >= 1900
|
||||
set /a MSC_VER_LOWER = MSC_VER/10*10+0
|
||||
set /a MSC_VER_UPPER = MSC_VER/10*10+9
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue