1
0
Fork 0
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:
Nobuyoshi Nakada 2022-03-02 23:18:44 +09:00
parent f07f476518
commit 0b66121484
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -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