summaryrefslogtreecommitdiff
path: root/Utility/libdiskfree.c
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-02-27 02:39:22 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-02-27 02:39:22 -0400
commita06989c1aeaf6463e554131993c5cb395d3f08bd (patch)
treea180b379cce80e8d4fa94cd4a15b5052316fddec /Utility/libdiskfree.c
parent8ba6b0d9bc54656eb0d8d45adf94561f6350e792 (diff)
Makefile now builds using cabal, taking advantage of cabal's automatic detection of appropriate build flags.
The only thing lost is ./ghci Speed: make fast used to take 20 seconds here, when rebuilding from touching Command/Unused.hs. With cabal, it's 29 seconds.
Diffstat (limited to 'Utility/libdiskfree.c')
-rw-r--r--Utility/libdiskfree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/libdiskfree.c b/Utility/libdiskfree.c
index a9ca90b41..d2843ed20 100644
--- a/Utility/libdiskfree.c
+++ b/Utility/libdiskfree.c
@@ -22,7 +22,7 @@
# define STATCALL statfs /* statfs64 not yet tested on a real FreeBSD machine */
# define STATSTRUCT statfs
#else
-#if defined WITH_ANDROID
+#if defined __ANDROID__
# warning free space checking code not available for Android
# define UNKNOWN
#else