[Python-checkins] python/dist/src/Modules posixmodule.c,2.292,2.293

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Thu, 20 Mar 2003 19:08:34 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv16710/Modules

Modified Files:
	posixmodule.c 
Log Message:
Get rid of warning on IRIX

Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.292
retrieving revision 2.293
diff -C2 -d -r2.292 -r2.293
*** posixmodule.c	21 Mar 2003 01:43:31 -0000	2.292
--- posixmodule.c	21 Mar 2003 03:08:31 -0000	2.293
***************
*** 2574,2578 ****
  
  /* AIX uses /dev/ptc but is otherwise the same as /dev/ptmx */
! #ifdef HAVE_DEV_PTC
  #define DEV_PTY_FILE "/dev/ptc"
  #define HAVE_DEV_PTMX
--- 2574,2579 ----
  
  /* AIX uses /dev/ptc but is otherwise the same as /dev/ptmx */
! /* 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