summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-01-17 16:25:57 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-01-17 16:25:57 (GMT)
commita55af9a9db334fb587f2c6b37ac28ac2463ebf04 (patch)
tree085b4cb7df8d1b3c2890dd13851970cac2c070a0 /Modules
parent60ba2c8bf8d8457282232127fd13543af4956a3d (diff)
downloadcpython-a55af9a9db334fb587f2c6b37ac28ac2463ebf04.zip
cpython-a55af9a9db334fb587f2c6b37ac28ac2463ebf04.tar.gz
cpython-a55af9a9db334fb587f2c6b37ac28ac2463ebf04.tar.bz2
- Issue #7658: Ensure that the new pythonw executable works on OSX 10.4
- Issue #7714: Use ``gcc -dumpversion`` to detect the version of GCC on MacOSX. - Make configure look for util.h as well as libutil.h. The former is the header file that on OSX contains the defition of openpty. (Needed to compile for OSX 10.4 on OSX 10.6) - Use the correct definition of CC to compile the pythonw executable
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 76609ee..46053fe 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3667,6 +3667,10 @@ posix_fork(PyObject *self, PyObject *noargs)
#else
#ifdef HAVE_LIBUTIL_H
#include <libutil.h>
+#else
+#ifdef HAVE_UTIL_H
+#include <util.h>
+#endif /* HAVE_UTIL_H */
#endif /* HAVE_LIBUTIL_H */
#endif /* HAVE_PTY_H */
#ifdef HAVE_STROPTS_H