libs/wine: default to giving wine64 its own WINEPREFIX

Austin English austinenglish at gmail.com
Thu Oct 22 18:50:19 CDT 2009


Since f86d10ffb6a36073786f1beb4a764348dbde8bd4, wine32 and wine64
can't play nice and share a prefix. So default to giving wine64 its
own prefix (.wine64).

-- 
-Austin
-------------- next part --------------
diff --git a/libs/wine/config.c b/libs/wine/config.c
index 6bb87b0..d6752ce 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -35,7 +35,11 @@
 #endif
 #include "wine/library.h"
 
+#ifdef _WIN64
+static const char server_config_dir[] = "/.wine64";        /* config dir relative to $HOME */
+#else
 static const char server_config_dir[] = "/.wine";        /* config dir relative to $HOME */
+#endif
 static const char server_root_prefix[] = "/tmp/.wine-";  /* prefix for server root dir */
 static const char server_dir_prefix[] = "/server-";      /* prefix for server dir */
 


More information about the wine-patches mailing list