commit | 2deaddb0d6ea57596ce02ea0ab43e9ef54ee3887 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 21 03:08:31 2003 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Fri Mar 21 03:08:31 2003 +0000 |
tree | 8095300f2c6785e0a58884b8ad338fd3d2bcc4e9 | |
parent | 82d61956faa9a6a884ad9327f9f5d7337f3a9bcb [diff] |
Get rid of warning on IRIX
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 4e7f9bc..ab4992e 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c
@@ -2573,7 +2573,8 @@ #endif /* AIX uses /dev/ptc but is otherwise the same as /dev/ptmx */ -#ifdef HAVE_DEV_PTC +/* IRIX has both /dev/ptc and /dev/ptmx, use ptmx */ +#if defined(HAVE_DEV_PTC) && !defined(HAVE_DEV_PTMX) #define DEV_PTY_FILE "/dev/ptc" #define HAVE_DEV_PTMX #else