Fixed a recently-introduced bug

This commit is contained in:
Josh Yelon 2005-06-10 19:00:35 +00:00
parent 588d0686e5
commit ebf032e5c5
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ for version,key1,key2,subdir in MAXVERSIONS:
##
########################################################################
if (OMIT.count("PYTHON")==0):
if (OMIT.count("PYTHON")==0) and (sys.platform != "win32"):
if (os.path.isdir("/usr/include/python2.5")): PYTHONSDK = "/usr/include/python2.5"
elif (os.path.isdir("/usr/include/python2.4")): PYTHONSDK = "/usr/include/python2.4"
elif (os.path.isdir("/usr/include/python2.3")): PYTHONSDK = "/usr/include/python2.3"