From 2b2bf64d3bbcccb5f04a1c1c7c6cba7af1237b8d Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 16 Sep 2013 12:44:15 +0200 Subject: [PATCH] libwine: Put the server directory inside the wineprefix on Android. --- libs/wine/config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/wine/config.c b/libs/wine/config.c index d8c46beca55..3b5dd6802f5 100644 --- a/libs/wine/config.c +++ b/libs/wine/config.c @@ -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