]> granicus.if.org Git - php/commitdiff
Fix Bug #28251
authorWez Furlong <wez@php.net>
Sun, 2 May 2004 11:13:08 +0000 (11:13 +0000)
committerWez Furlong <wez@php.net>
Sun, 2 May 2004 11:13:08 +0000 (11:13 +0000)
ext/standard/proc_open.c

index 126f712376924f7f6eb73bb6455c9f714e3fe0b5..25aa002564d35d8fa42c509a2eb0a7bb7dca1e3f 100644 (file)
 
 
 #if HAVE_PTSNAME && HAVE_GRANTPT && HAVE_UNLOCKPT && HAVE_SYS_IOCTL_H && HAVE_TERMIOS_H
-# define PHP_CAN_DO_PTS        1
 # include <sys/ioctl.h>
 # include <termios.h>
+# ifdef TIOCNOTTY
+#  define PHP_CAN_DO_PTS       1
+# endif
 #endif
 
 #include "proc_open.h"