summaryrefslogtreecommitdiff
path: root/unix.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-04-13 18:36:29 +0000
committertruelight <truelight@openttd.org>2005-04-13 18:36:29 +0000
commit7f4b636559e6c4b7a5ba6d34eff17965d57fa617 (patch)
tree1feedf8b6ef700e1b7b5e2cc1f04ce196e4206b5 /unix.c
parent860242b811de9affc010d560d141ea1242c3550c (diff)
downloadopenttd-7f4b636559e6c4b7a5ba6d34eff17965d57fa617.tar.xz
(svn r2191) -Add: OpenTTD now compiles with dietlibc (Aard)
Diffstat (limited to 'unix.c')
-rw-r--r--unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix.c b/unix.c
index ff9e096c2..c7487f34d 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__)
+#if ((defined(_POSIX_VERSION) && _POSIX_VERSION >= 200112L) || defined(__linux__)) && !defined(__dietlibc__)
#define HAS_STATVFS
#endif