From: foobar Date: Mon, 1 Dec 2003 16:36:00 +0000 (+0000) Subject: - Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c) X-Git-Tag: php-5.0.0b3RC1~447 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45ac4a7141f76a59b6b8d2af37505b05b6db3f83;p=php - Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c) --- diff --git a/ext/dio/dio.c b/ext/dio/dio.c index 444400e371..62adc5ae32 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;