summaryrefslogtreecommitdiffstats
path: root/Include
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 /Include
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 'Include')
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 7c537a9..a6ddbee 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -627,7 +627,7 @@ extern char * _getpty(int *, int, mode_t, int);
#endif
#if defined(HAVE_OPENPTY) || defined(HAVE_FORKPTY)
-#if !defined(HAVE_PTY_H) && !defined(HAVE_LIBUTIL_H)
+#if !defined(HAVE_PTY_H) && !defined(HAVE_LIBUTIL_H) && !defined(HAVE_UTIL_H)
/* BSDI does not supply a prototype for the 'openpty' and 'forkpty'
functions, even though they are included in libutil. */
#include <termios.h>