Module: wine Branch: master Commit: 2b2bf64d3bbcccb5f04a1c1c7c6cba7af1237b8d URL: http://source.winehq.org/git/wine.git/?a=commit;h=2b2bf64d3bbcccb5f04a1c1c7c...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Sep 16 12:44:15 2013 +0200
libwine: Put the server directory inside the wineprefix on Android.
---
libs/wine/config.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libs/wine/config.c b/libs/wine/config.c index d8c46be..3b5dd68 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