fixed MSPlatform check for non-Win platforms

This commit is contained in:
Zhao Huang 2011-12-08 15:16:49 +00:00
parent 66aef17a6f
commit 7d9778f2b9

View File

@ -1573,6 +1573,7 @@ def SdkLocateVisualStudio():
def SdkLocateMSPlatform( strMode = 'default'):
print '\nWindows Platform SDK:'
if (sys.platform != "win32"): return
platsdk = 0
if (strMode == 'default'):
print '\tSearching for the latest version'