Alexandre Julliard : winebuild: Don't remove stdcall decorations on non-x86 .
Alexandre Julliard
julliard at winehq.org
Mon Jan 31 11:26:16 CST 2011
Module: wine
Branch: master
Commit: a5decb5444b3f371528aa40a67e3734375748c09
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a5decb5444b3f371528aa40a67e3734375748c09
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.
---
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 1dbb6d6..9aadf14 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;
More information about the wine-cvs
mailing list