cvs: php-src /ext/dio dio.c
| From: | Jani Taskinen | Date: | Mon, 01 Dec 2003 16:36:02 +0000 |
| Subject: | cvs: php-src /ext/dio dio.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24793@lists.php.net to get a copy of this message | ||
sniper Mon Dec 1 11:36:02 2003 EDT
Modified files:
/php-src/ext/dio dio.c
Log:
- Fixed bug #26488 (Missing declaration of CRTSCTS in ext/dio/dio.c)
Index: php-src/ext/dio/dio.c
diff -u php-src/ext/dio/dio.c:1.29 php-src/ext/dio/dio.c:1.30
--- php-src/ext/dio/dio.c:1.29 Sun Aug 31 16:45:44 2003
+++ php-src/ext/dio/dio.c Mon Dec 1 11:36:00 2003
@@ -31,6 +31,15 @@
#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;