Alexandre Julliard : winebuild: Don' t add stdcall decorations on non-x86 platforms.
Alexandre Julliard
julliard at winehq.org
Thu Dec 4 09:02:08 CST 2008
Module: wine
Branch: master
Commit: 9f1cf1c26358987e0dfe1ef14119ea02954084ee
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9f1cf1c26358987e0dfe1ef14119ea02954084ee
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Dec 3 22:37:07 2008 +0100
winebuild: Don't add stdcall decorations on non-x86 platforms.
---
tools/winebuild/spec32.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
index afcc7da..276639e 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -561,7 +561,7 @@ void BuildDef32File( DLLSPEC *spec )
case TYPE_STDCALL:
{
int at_param = strlen(odp->u.func.arg_types) * get_ptr_size();
- if (!kill_at) output( "@%d", at_param );
+ if (!kill_at && target_cpu == CPU_x86) output( "@%d", at_param );
if (odp->flags & FLAG_FORWARD)
{
output( "=%s", odp->link_name );
@@ -569,7 +569,7 @@ void BuildDef32File( DLLSPEC *spec )
else if (strcmp(name, odp->link_name)) /* try to reduce output */
{
output( "=%s", odp->link_name );
- if (!kill_at) output( "@%d", at_param );
+ if (!kill_at && target_cpu == CPU_x86) output( "@%d", at_param );
}
break;
}
More information about the wine-cvs
mailing list