Commit 2b2bf64d authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 876189a4
...@@ -222,7 +222,9 @@ static void init_server_dir( dev_t dev, ino_t ino ) ...@@ -222,7 +222,9 @@ static void init_server_dir( dev_t dev, ino_t ino )
{ {
char *p, *root; 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 ); root = xmalloc( sizeof(server_root_prefix) + 12 );
sprintf( root, "%s-%u", server_root_prefix, getuid() ); sprintf( root, "%s-%u", server_root_prefix, getuid() );
#else #else
......
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