From a210689fff14d3a1b2b8c41b17d9384a3d41cb8c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 4 May 2013 16:04:17 -0400 Subject: Got removable media mount detection working on Android. Bionic has an amusing stub for `getmntent` that prints out "FIX ME! implement getmntent()" But, `/proc/mounts` is there, so I just parse it. --- Utility/libmounts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Utility/libmounts.h') diff --git a/Utility/libmounts.h b/Utility/libmounts.h index 460fcc7ab..24df55f31 100644 --- a/Utility/libmounts.h +++ b/Utility/libmounts.h @@ -6,7 +6,7 @@ # define GETMNTINFO #else #if defined __ANDROID__ -# warning mounts listing code not available for Android +/* Android is handled by the Haskell code, not here. */ # define UNKNOWN #else #if defined (__linux__) || defined (__FreeBSD_kernel__) -- cgit v1.2.3