Commit a5decb54 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 9302045a
......@@ -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;
......
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