libwine: Don't try to use the preloader on non-i386.
authorAlexandre Julliard <julliard@winehq.org>
Thu, 11 Dec 2008 19:39:05 +0000 (20:39 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 12 Dec 2008 09:19:54 +0000 (10:19 +0100)
libs/wine/config.c

index ba898114ad21cdb5eebc463b7d9e3b0b04b26d8d..280241c8074d4777f11d42daa9ee836c2c4f6025 100644 (file)
@@ -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";