Alexandre Julliard : winebuild: Don't remove stdcall decorations on non-x86 .

Alexandre Julliard julliard at winehq.org
Thu Apr 7 07:36:49 CDT 2011


Module: wine
Branch: stable
Commit: 26dcc7f1c8eed925df5b92be44482fad23f827ef
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=26dcc7f1c8eed925df5b92be44482fad23f827ef

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jan 31 17:39:45 2011 +0100

winebuild: Don't remove stdcall decorations on non-x86.
(cherry picked from commit a5decb5444b3f371528aa40a67e3734375748c09)

---

 tools/winebuild/utils.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c
index 75568d6..91e3c1f 100644
--- a/tools/winebuild/utils.c
+++ b/tools/winebuild/utils.c
@@ -587,6 +587,7 @@ int remove_stdcall_decoration( char *name )
 {
     char *p, *end = strrchr( name, '@' );
     if (!end || !end[1] || end == name) return -1;
+    if (target_cpu != CPU_x86) return -1;
     /* make sure all the rest is digits */
     for (p = end + 1; *p; p++) if (!isdigit(*p)) return -1;
     *end = 0;




More information about the wine-cvs mailing list