]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed test for statfs() for BSD systems, not just MacOSX
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Oct 2001 16:56:53 +0000 (16:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 19 Oct 2001 16:56:53 +0000 (16:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 209b26649dcd85a1f136ec90f8d08081c65a7f9f..abeb192b6ec4bfc1c992058b9ae1a2b722745cee 100755 (executable)
--- a/configure
+++ b/configure
@@ -13712,7 +13712,7 @@ else
 #line 13713 "configure"
 #include "confdefs.h"
 
-             #ifdef __DARWIN__
+             #ifdef __BSD__
                #include <sys/param.h>
                #include <sys/mount.h>
              #else
index ddc3bbe691dd3ad108ce816c77fbd905f872a665..9d836818f6f382df8ef096aa996b239864250864 100644 (file)
@@ -2732,7 +2732,7 @@ dnl get the library function to use for wxGetDiskSpace()
 AC_CACHE_CHECK(for statfs, wx_cv_func_statfs,
     AC_TRY_COMPILE(
         [
-             #ifdef __DARWIN__
+             #ifdef __BSD__
                #include <sys/param.h>
                #include <sys/mount.h>
              #else