[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: statfs vs statvfs checks in kdelibs
From: Hasso Tepper <hasso () kde ! org>
Date: 2006-04-03 13:15:32
Message-ID: 200604031615.32128.hasso () kde ! org
[Download RAW message or body]
Adriaan de Groot wrote:
> Yeah, that would do it if we could check for existence of header files
> before hand and depend on HAVE_*_H in the resulting code so it can
> include the right headers. This particular compile test will work out
> OK on FBSD because it includes the wrong headers to even find
> getmntinfo() (and it's supposed to fail).
Yes, that's the idea - concentrate efforts to the cases where it's
supposed to succeed and don't care why it fails. And if it fails, assume
that statfs must be used.
regards,
--
Hasso Tepper
KDE Estonian Team
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic