libwine: Put the server directory inside the wineprefix on Android.

This commit is contained in:
Alexandre Julliard 2013-09-16 12:44:15 +02:00
parent 876189a405
commit 2b2bf64d3b
1 changed files with 3 additions and 1 deletions

View File

@ -222,7 +222,9 @@ static void init_server_dir( dev_t dev, ino_t ino )
{
char *p, *root;
#ifdef HAVE_GETUID
#ifdef __ANDROID__ /* there's no /tmp dir on Android */
root = build_path( config_dir, ".wineserver" );
#elif defined(HAVE_GETUID)
root = xmalloc( sizeof(server_root_prefix) + 12 );
sprintf( root, "%s-%u", server_root_prefix, getuid() );
#else