]> granicus.if.org Git - php/commitdiff
- Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c)
authorfoobar <sniper@php.net>
Mon, 1 Dec 2003 16:36:00 +0000 (16:36 +0000)
committerfoobar <sniper@php.net>
Mon, 1 Dec 2003 16:36:00 +0000 (16:36 +0000)
ext/dio/dio.c

index 444400e371115d219a8dbdee512df03704ec8f99..62adc5ae320e26605fb028063b39531a35f45fba 100644 (file)
 #include <fcntl.h>
 #include <termios.h>
 
+/* e.g. IRIX does not have CRTSCTS */
+#ifndef CRTSCTS
+# ifdef CNEW_RTSCTS
+#  define CRTSCTS CNEW_RTSCTS
+# else
+#  define CRTSCTS 0
+# endif /* CNEW_RTSCTS */
+#endif /* !CRTSCTS */
+
 #define le_fd_name "Direct I/O File Descriptor"
 static int le_fd;