[kde-solaris] FIONREAD undeclared in kdelib/kdecore/network

Christopher Layne clayne at anodized.com
Sat Aug 21 23:38:54 CEST 2004


On Sat, Aug 21, 2004 at 03:55:49PM -0400, Stefan Teleman wrote:
> Isn't it easier to just do:
> 
> #if defined USE_SOLARIS
> #include <sys/filio.h>
> #endif
> 
> :-)
> 
> It's not like it is realistically possible to write code 100% free of 
> OS specific #ifdef's.
> 
> Why add another define ? It may come with unknown (unitended) side 
> effects. There's *waaaaay* too many compile line defines already. :-)
> 
> --Stefan

That's the same patch I put into the bug weeks ago, USE_SOLARIS.

;-)

Personally, it's not really a big deal. What's only annoying about it
is that I have to fix it everytime I do a cvs update.

-cl


More information about the kde-solaris mailing list