Skip to content

Commit

Permalink
Update cygwinccompiler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
imba-tjd committed Nov 15, 2021
1 parent ee78e84 commit ea88dcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions distutils/cygwinccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ def get_msvcr():
# VS2010 / MSVC 10.0
return ['msvcr100']
elif msc_ver == '1700':
# Visual Studio 2012 / Visual C++ 11.0
# VS2012 / MSVC 11.0
return ['msvcr110']
elif msc_ver == '1800':
# Visual Studio 2013 / Visual C++ 12.0
# VS2013 / MSVC 12.0
return ['msvcr120']
elif int(msc_ver) >= 1900 and int(msc_ver) < 2000:
# Visual Studio 2015 / Visual C++ 14.0
# VS2015 / MSVC 14.0
return ['vcruntime140']
else:
raise ValueError("Unknown MS Compiler version %s " % msc_ver)
Expand Down

0 comments on commit ea88dcd

Please sign in to comment.