Commit 9f1cf1c2 authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Don't add stdcall decorations on non-x86 platforms.

parent 76ae4d9c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment