1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01:00

21270: don't use poll() on Apple

This commit is contained in:
Peter Stephenson 2005-05-23 14:41:16 +00:00
parent 8a24c5a5ee
commit 3acf90f67e
2 changed files with 11 additions and 0 deletions

View file

@ -300,6 +300,15 @@ struct timezone {
# include <sys/socket.h>
#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
# include <sys/filio.h>
#endif