diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-08-27 23:51:06 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-08-27 23:51:06 (GMT) |
commit | b9981ba680de8487ffa7ffb0ee216e82030e6304 (patch) | |
tree | 68a5b570cc991ab13ac5ef87879125f789c6aaf4 /Modules | |
parent | 55a1220bdbdff64320a906f0e09ca7644eeb445f (diff) | |
download | cpython-b9981ba680de8487ffa7ffb0ee216e82030e6304.zip cpython-b9981ba680de8487ffa7ffb0ee216e82030e6304.tar.gz cpython-b9981ba680de8487ffa7ffb0ee216e82030e6304.tar.bz2 |
fix a compilation warning in posix_openpty() on "PPC64 AIX 3.x" buildbot
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/posixmodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 6570142..df0d81b 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -5837,7 +5837,9 @@ posix_openpty(PyObject *self, PyObject *noargs) posix_error: posix_error(); +#if defined(HAVE_OPENPTY) || defined(HAVE__GETPTY) error: +#endif if (master_fd != -1) close(master_fd); if (slave_fd != -1) |