mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 05:00:59 +01:00
21270: don't use poll() on Apple
This commit is contained in:
parent
8a24c5a5ee
commit
3acf90f67e
2 changed files with 11 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
2005-05-23 Peter Stephenson <pws@csr.com>
|
2005-05-23 Peter Stephenson <pws@csr.com>
|
||||||
|
|
||||||
|
* 21270: Src/system.h: don't use poll() on Apple.
|
||||||
|
|
||||||
* users/8863: Doc/Zsh/contrib.yo, Functions/Zle/which-command:
|
* users/8863: Doc/Zsh/contrib.yo, Functions/Zle/which-command:
|
||||||
enhanced which-command that traces the final command better.
|
enhanced which-command that traces the final command better.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -300,6 +300,15 @@ struct timezone {
|
||||||
# include <sys/socket.h>
|
# include <sys/socket.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__APPLE__) && defined(HAVE_SELECT)
|
||||||
|
/*
|
||||||
|
* Prefer select() to poll() on MacOS X since poll() is known
|
||||||
|
* to be problematic in 10.4
|
||||||
|
*/
|
||||||
|
#undef HAVE_POLL
|
||||||
|
#undef HAVE_POLL_H
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_FILIO_H
|
#ifdef HAVE_SYS_FILIO_H
|
||||||
# include <sys/filio.h>
|
# include <sys/filio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue