libwine: Put the server directory inside the wineprefix on Android.
This commit is contained in:
parent
876189a405
commit
2b2bf64d3b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue