From: foobar Date: Mon, 1 Dec 2003 16:38:23 +0000 (+0000) Subject: MFH: - Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c) X-Git-Tag: php-4.3.5RC1~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74540e51a7e7b9cd5e62501a86ac705174e42ad1;p=php MFH: - Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c) --- 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;