[Python-checkins] cpython (3.3): Backport 9dd4638de73b.

stefan.krah python-checkins at python.org
Mon Nov 19 00:57:55 CET 2012


http://hg.python.org/cpython/rev/90283c6f94fc
changeset: 80521:90283c6f94fc
branch: 3.3
parent: 80516:0cc209d95e70
user: Stefan Krah <skrah at bytereef.org>
date: Mon Nov 19 00:54:05 2012 +0100
summary:
 Backport 9dd4638de73b.
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
@@ -649,7 +649,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

AltStyle によって変換されたページ (->オリジナル) /