From a5decb5444b3f371528aa40a67e3734375748c09 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 31 Jan 2011 17:39:45 +0100 Subject: [PATCH] winebuild: Don't remove stdcall decorations on non-x86. --- tools/winebuild/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c index 1dbb6d60d37..9aadf14d64c 100644 --- a/tools/winebuild/utils.c +++ b/tools/winebuild/utils.c @@ -664,6 +664,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;