[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/21] pipe-filter-aux: undefine HAVE_SELECT on KLIBC
From: |
KO Myung-Hun |
Subject: |
[PATCH 11/21] pipe-filter-aux: undefine HAVE_SELECT on KLIBC |
Date: |
Sun, 30 Nov 2014 13:20:13 +0900 |
On OS/2 kLIBC, select() works only on sockets.
* lib/pipe-filter-aux.h (HAVE_SELECT): Undefine on OS/2 kLIBC.
---
lib/pipe-filter-aux.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/pipe-filter-aux.h b/lib/pipe-filter-aux.h
index 8f2a707..ee63ac8 100644
--- a/lib/pipe-filter-aux.h
+++ b/lib/pipe-filter-aux.h
@@ -35,8 +35,9 @@ _GL_INLINE_HEADER_BEGIN
looping while waiting for the child. Not good. But hardly any platform
lacks select() nowadays.) */
-/* On BeOS select() works only on sockets, not on normal file descriptors. */
-#ifdef __BEOS__
+/* On BeOS and OS/2 kLIBC select() works only on sockets, not on normal file
+ descriptors. */
+#if defined __BEOS__ || defined __KLIBC__
# undef HAVE_SELECT
#endif
--
1.8.5.2
- Re: [PATCH 07/21] find_executable: port to EMX, (continued)
- [PATCH 08/21] get_shared_library_fullname: port to EMX, KO Myung-Hun, 2014/11/30
- [PATCH 09/21] relocatable: support UNIXROOT in relocate() on EMX, KO Myung-Hun, 2014/11/30
- [PATCH 12/21] pipe_filter_ii_execute: port to OS/2 kLIBC, KO Myung-Hun, 2014/11/30
- [PATCH 10/21] binary-io: put fd in binary mode if it is not a console on EMX, KO Myung-Hun, 2014/11/30
- [PATCH 11/21] pipe-filter-aux: undefine HAVE_SELECT on KLIBC,
KO Myung-Hun <=
- [PATCH 14/21] getdtablesize: do not use getrlimit() on OS/2 kLIBC, KO Myung-Hun, 2014/11/30
- [PATCH 13/21] w32spawn: clear SHELL_SPECIAL_CHARS and SHELL_SPACE_CHAR on OS/2 kLIBC, KO Myung-Hun, 2014/11/30
- [PATCH 16/21] wcwidth: fix 'conflicting types' error for `__wcwidth' on OS/2 kLIBC, KO Myung-Hun, 2014/11/30
- [PATCH 18/21] Workaround for dirfd() on OS/2 kLIBC, KO Myung-Hun, 2014/11/30
- [PATCH 15/21] freopen: workaround freopen() on OS/2 kLIBC, KO Myung-Hun, 2014/11/30