summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/launch/launchsupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-12-09 14:51:21 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-12-09 14:51:21 (GMT)
commit2af4ce8f3009d728d1c17758468de14920821b3d (patch)
tree12854d915ef3d19a1ab1052027169dde55d88fd9 /Mac/Modules/launch/launchsupport.py
parent1dde95dffa44c7ddc4eee7b21cc44274d3e3effe (diff)
downloadcpython-2af4ce8f3009d728d1c17758468de14920821b3d.zip
cpython-2af4ce8f3009d728d1c17758468de14920821b3d.tar.gz
cpython-2af4ce8f3009d728d1c17758468de14920821b3d.tar.bz2
Made this module compatible with Python2.3, and added a temporary setup
script that allows it to be built for that Python.
Diffstat (limited to 'Mac/Modules/launch/launchsupport.py')
-rw-r--r--Mac/Modules/launch/launchsupport.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mac/Modules/launch/launchsupport.py b/Mac/Modules/launch/launchsupport.py
index 7816a46..122278c 100644
--- a/Mac/Modules/launch/launchsupport.py
+++ b/Mac/Modules/launch/launchsupport.py
@@ -29,6 +29,10 @@ OptCFStringRef = OpaqueByValueType("CFStringRef", "OptCFStringRefObj")
LSItemInfoRecord = OpaqueType("LSItemInfoRecord", "LSItemInfoRecord")
includestuff = includestuff + """
+#if PY_VERSION_HEX < 0x02040000
+PyObject *PyMac_GetOSErrException(void);
+#endif
+
#include <ApplicationServices/ApplicationServices.h>
/*