Kaydet (Commit) 6572e15d authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Android build fixes

üst a4d1e61d
...@@ -2180,7 +2180,7 @@ namespace osl_VolumeInfo ...@@ -2180,7 +2180,7 @@ namespace osl_VolumeInfo
} }
#if ( defined UNX ) #if defined(UNX) && !defined(ANDROID)
void getMaxNameLength_002( ) void getMaxNameLength_002( )
{ {
struct statvfs aStatFS; struct statvfs aStatFS;
...@@ -6055,7 +6055,7 @@ namespace osl_Directory ...@@ -6055,7 +6055,7 @@ namespace osl_Directory
if (tmp_x.lastIndexOf('/') != (tmp_x.getLength() - 1)) if (tmp_x.lastIndexOf('/') != (tmp_x.getLength() - 1))
tmp_x += rtl::OString('/'); tmp_x += rtl::OString('/');
#ifndef WNT #if !defined(WNT) && !defined(ANDROID)
// FIXME would be nice to create unique dir even on Windows // FIXME would be nice to create unique dir even on Windows
tmp_x += rtl::OString("XXXXXX"); tmp_x += rtl::OString("XXXXXX");
char *out = mkdtemp(const_cast<char*>(tmp_x.getStr())); char *out = mkdtemp(const_cast<char*>(tmp_x.getStr()));
......
...@@ -95,7 +95,9 @@ const sal_Char pBuffer_Blank[] = ""; ...@@ -95,7 +95,9 @@ const sal_Char pBuffer_Blank[] = "";
# include <sys/param.h> # include <sys/param.h>
# include <sys/mount.h> # include <sys/mount.h>
# endif # endif
# include <sys/statvfs.h> # if !defined(ANDROID)
# include <sys/statvfs.h>
# endif
# include <sys/types.h> # include <sys/types.h>
# define TEST_PLATFORM "" # define TEST_PLATFORM ""
# define TEST_PLATFORM_ROOT "/" # define TEST_PLATFORM_ROOT "/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment