From d8bf2f38eaca64e43db278f35a108a911705df5a Mon Sep 17 00:00:00 2001
From: Ray Donnelly <mingw.android@gmail.com>
Date: Wed, 16 Aug 2017 11:59:00 +0100
Subject: [PATCH 02/25] Win32: distutils: Add support to cygwinccompiler for
 VS>=2015

Really this is for mingw-w64 though
---
 Lib/distutils/cygwinccompiler.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Lib/distutils/cygwinccompiler.py b/Lib/distutils/cygwinccompiler.py
index 66c12dd358..e6c790118b 100644
--- a/Lib/distutils/cygwinccompiler.py
+++ b/Lib/distutils/cygwinccompiler.py
@@ -80,6 +80,9 @@ def get_msvcr():
         elif msc_ver == '1600':
             # VS2010 / MSVC 10.0
             return ['msvcr100']
+        elif int(msc_ver) >= 1900:
+            # VS2015 / MSVC 14.0
+            return ['msvcr140']
         else:
             raise ValueError("Unknown MS Compiler version %s " % msc_ver)
 
-- 
2.32.1 (Apple Git-133)

