fixed typo

This commit is contained in:
Scott McCreary
2008-10-20 09:30:17 +00:00
parent 689bf5ef59
commit 4740db5be1

View File

@@ -159,13 +159,13 @@ diff -urN Python-2.6/Modules/timemodule.c Python-2.6-haiku/Modules/timemodule.c
Py_BEGIN_ALLOW_THREADS
diff -urN Python-2.6/Tools/scripts/h2py.py Python-2.6-haiku/Tools/scripts/h2py.py
--- Python-2.6/Tools/scripts/h2py.py 2004-08-09 17:27:55.000000000 +0000
+++ Python-2.6-haiku/Tools/scripts/h2py.py 2008-10-20 01:21:37.000000000 +0000
+++ Python-2.6-haiku/Tools/scripts/h2py.py 2008-10-20 02:34:15.000000000 +0000
@@ -50,7 +50,7 @@
searchdirs=os.environ['INCLUDE'].split(';')
except KeyError:
try:
- if sys.platform.find("beos") == 0:
+ if sys.platform.find("beos") == 0 or sys.platform.find("haiku") == 0:
+ if sys.platform.find("beos") == 0 or sys.platform.find("haiku1") == 0:
searchdirs=os.environ['BEINCLUDES'].split(';')
elif sys.platform.startswith("atheos"):
searchdirs=os.environ['C_INCLUDE_PATH'].split(':')