summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-05-21 19:42:34 +0000
committertron <tron@openttd.org>2005-05-21 19:42:34 +0000
commitbff8dfea1c10807b41d55b3be2d1d2067a9c379d (patch)
treea35e4fb9df398746e5058f4963a8b3ed841fcac8
parent54bc10515f84044a95b66995d4bea7d9327d49ba (diff)
downloadopenttd-bff8dfea1c10807b41d55b3be2d1d2067a9c379d.tar.xz
(svn r2356) Make check if statvfs() is availible a bit more sensible
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index c7487f34d..b4c353878 100644
--- 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