diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-04 16:04:17 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-04 16:19:25 -0400 |
commit | a210689fff14d3a1b2b8c41b17d9384a3d41cb8c (patch) | |
tree | 3e2f90ffdc43592f6bd46fb3ed604d7198bc63c2 /Utility/libmounts.h | |
parent | 603e70ab3f89404cdd9d43080990c04da96d92da (diff) |
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.
Diffstat (limited to 'Utility/libmounts.h')
-rw-r--r-- | Utility/libmounts.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__) |