diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-12 13:11:14 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-12 13:11:14 +0300 |
commit | b3ae76e00ba75a3dcdbc8d502d3aabd2c7f5ceea (patch) | |
tree | 5a14a2f8b6432b3bea0b05915d741073d566d8a3 /tools | |
parent | def1511fc20756b90337b73409be19a33e95bb1b (diff) |
Make it compile for Android
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/fsys/unx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/fsys/unx.cxx b/tools/source/fsys/unx.cxx index ccfe6b92f39f..b04a2e64904a 100644 --- a/tools/source/fsys/unx.cxx +++ b/tools/source/fsys/unx.cxx @@ -34,7 +34,7 @@ #include <stdlib.h> #include <unistd.h> #include <utime.h> -#if defined LINUX +#if defined LINUX || defined ANDROID #include <mntent.h> #define mnttab mntent #elif defined AIX @@ -136,7 +136,7 @@ static sal_Bool GetMountEntry(dev_t dev, struct mymnttab *mytab) return sal_False; struct mnttab mnt[1]; while (getmntent (fp, mnt) != -1) -#elif defined AIX +#elif defined AIX || defined ANDROID FILE *fp = NULL; if (! fp) return sal_False; |