Browse Source

Fixed a recently-introduced bug

Josh Yelon 20 years ago
parent
commit
ebf032e5c5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/makepanda/makepanda.py

+ 1 - 1
doc/makepanda/makepanda.py

@@ -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"