Alexandre Julliard : libwine: Don't try to use the preloader on non-i386.

Alexandre Julliard julliard at winehq.org
Fri Dec 12 07:04:07 CST 2008


Module: wine
Branch: master
Commit: d2a426a6ab695c9a209a3abd9a8d2d4221960111
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d2a426a6ab695c9a209a3abd9a8d2d4221960111

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Dec 11 20:39:05 2008 +0100

libwine: Don't try to use the preloader on non-i386.

---

 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 ba89811..280241c 100644
--- a/libs/wine/config.c
+++ b/libs/wine/config.c
@@ -421,7 +421,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
+#if defined(linux) && defined(__i386__)
     if (use_preloader)
     {
         static const char preloader[] = "wine-preloader";




More information about the wine-cvs mailing list