Skip to content

Commit cc56957

Browse files
committed
Fix common.py in tools
1 parent e0bdca3 commit cc56957

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
VS2008_VCVARS = ("C:\\Program Files (x86)\\Microsoft Visual Studio 9.0"
211211
"\\VC\\vcvarsall.bat")
212212

213-
if not os.path.exists(VS2008_VCVARS):
213+
if WINDOWS and not os.path.exists(VS2008_VCVARS):
214214
VS2008_VCVARS = (os.environ["LOCALAPPDATA"]+"\\Programs\\Common\\Microsoft"
215215
"\\Visual C++ for Python\\9.0\\vcvarsall.bat")
216216

0 commit comments

Comments
 (0)