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

diff --git a/NEWS b/NEWS
index a4814fc6b043da2a59c820be001f41fe1e46f560..fba1472b17f9b9c95534d48a86a7137fe5fa6863 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ PHP 4                                                                      NEWS
   (Jani)
 - Fixed header handler in NSAPI SAPI module (header->replace was ignored,
   send_default_content_type now sends value from php.ini). (Uwe Schindler)
+- Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c). (Jani)
 - Fixed bug #26467 (flock() does not force the "wouldblock" parameter to be 
   passed by reference). (Wez)
 - Fixed bug #26463 (Incorrect handling of semicolons after heredoc). (Ilia)
index 8b82f2d6b34170d7c3c798a53151f8af95c59923..bd573a53cfb80ae88d41c74429151a9c194d3813 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;