Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 9b9dcef

Browse files
authored
fix default compiler == None
1 parent a2b6bdb commit 9b9dcef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def find_version(*parts):
118118

119119
if platform.platform().startswith('Win'):
120120
from Cython.Build.Inline import _get_build_extension
121-
if _get_build_extension().compiler == 'msvc':
121+
if _get_build_extension().compiler in (None, 'msvc'):
122122
extra_compile_args = [
123123
'/EHsc',
124124
'-DBOOST_DATE_TIME_NO_LIB',

0 commit comments

Comments
 (0)