libs/wine: Fix regression caused by 5af634fd3b7ff7e4d6f8af34f6139315fdbbc8c4 for non-x86 architectures

André Hentschel nerv at dawncrow.de
Thu Jan 13 13:18:37 CST 2011


---
 libs/wine/config.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libs/wine/config.c b/libs/wine/config.c
index e15012b..2c365a4 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -456,7 +456,7 @@ const char *wine_get_build_id(void)
 /* exec a binary using the preloader if requested; helper for wine_exec_wine_binary */
 static void preloader_exec( char **argv, int use_preloader )
 {
-#ifdef linux
+#ifdef linux && defined(__i386__) && defined(__x86_64__)
     if (use_preloader)
     {
         static const char preloader[] = "wine-preloader";
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list