------- Comment #4 from davek at gcc dot gnu dot org  2010-04-15 01:17 -------
So the ideal fix would be to change "#ifdef FIONREAD" to something more like
"#if HAVE_IOCTL && defined (FIONREAD)".  But that runs into the need-link-test
vs. cross-configure problem.

MinGW doesn't have sys/ioctl.h; could we test HAVE_SYS_IOCTL_H?  Are there
likely to be any platforms we support that define FIONREAD but don't have
sys/ioctl.h?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43738

Reply via email to