diff options
author | KO Myung-Hun <komh78@gmail.com> | 2016-01-14 11:23:43 +0900 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-01-14 16:45:38 -0800 |
commit | c9e89c9d3c5f11b6ad43689b4eadd8cda10606a3 (patch) | |
tree | ad35238ae02bb8048ba44d8ea615774b01f8a067 /lib/pipe-filter-aux.h | |
parent | 46c54f17675d6139eeefffaa2aec99941193a99c (diff) | |
download | gnulib-c9e89c9d3c5f11b6ad43689b4eadd8cda10606a3.tar.gz |
pipe-filter-aux: undefine HAVE_SELECT on KLIBC
On OS/2 kLIBC, select() works only on sockets.
* lib/pipe-filter-aux.h (HAVE_SELECT): Undefine on OS/2 kLIBC.
Diffstat (limited to 'lib/pipe-filter-aux.h')
-rw-r--r-- | lib/pipe-filter-aux.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/pipe-filter-aux.h b/lib/pipe-filter-aux.h index f4249f45a3..50ad62c28d 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 |