changeset 1850:80ae023f0eef draft

(svn r2356) Make check if statvfs() is availible a bit more sensible
author tron <tron@openttd.org>
date Sat, 21 May 2005 19:42:34 +0000
parents 34012a94a94f
children fc4fffa72c1b
files unix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/unix.c
+++ b/unix.c
@@ -12,7 +12,7 @@
 #include <pwd.h>
 #include <signal.h>
 
-#if ((defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__linux__)) && !defined(__dietlibc__)
+#if (defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__GLIBC__)
 	#define HAS_STATVFS
 #endif