[Python-checkins] cpython: Issue #6308: Try to fix the termios build failure on HP-UX.
stefan.krah
python-checkins at python.org
Mon Nov 19 00:08:39 CET 2012
http://hg.python.org/cpython/rev/9dd4638de73b
changeset: 80518:9dd4638de73b
user: Stefan Krah <skrah at bytereef.org>
date: Mon Nov 19 00:07:18 2012 +0100
summary:
Issue #6308: Try to fix the termios build failure on HP-UX.
files:
Include/pyport.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Include/pyport.h b/Include/pyport.h
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -646,7 +646,7 @@
/* On QNX 6, struct termio must be declared by including sys/termio.h
if TCGETA, TCSETA, TCSETAW, or TCSETAF are used. sys/termio.h must
be included before termios.h or it will generate an error. */
-#ifdef HAVE_SYS_TERMIO_H
+#if defined(HAVE_SYS_TERMIO_H) && !defined(__hpux)
#include <sys/termio.h>
#endif
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list