From 74540e51a7e7b9cd5e62501a86ac705174e42ad1 Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 1 Dec 2003 16:38:23 +0000 Subject: [PATCH] MFH: - Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c) --- NEWS | 1 + ext/dio/dio.c | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/NEWS b/NEWS index a4814fc6b0..fba1472b17 100644 --- 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) diff --git a/ext/dio/dio.c b/ext/dio/dio.c index 8b82f2d6b3..bd573a53cf 100644 --- a/ext/dio/dio.c +++ b/ext/dio/dio.c @@ -31,6 +31,15 @@ #include #include +/* 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; -- 2.50.1