Fix typo in Python's Windows build
This commit is contained in:
parent
742383489f
commit
ca2b0f5f07
|
|
@ -217,7 +217,7 @@ class BuildExt(build_ext.build_ext):
|
|||
"""Test if default compiler is okay with specifying c++ version
|
||||
when invoked in C mode. GCC is okay with this, while clang is not.
|
||||
"""
|
||||
if platform.system() != 'Windows':
|
||||
if platform.system() == 'Windows':
|
||||
return False
|
||||
# TODO(lidiz) Remove the generated a.out for success tests.
|
||||
cc_test = subprocess.Popen(['cc', '-x', 'c', '-std=c++11', '-'],
|
||||
|
|
|
|||
Loading…
Reference in New Issue