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

This commit is contained in:
Alexandre Julliard 2011-01-31 17:39:45 +01:00
parent 9302045ae6
commit a5decb5444
1 changed files with 1 additions and 0 deletions

View File

@ -664,6 +664,7 @@ int remove_stdcall_decoration( char *name )
{ {
char *p, *end = strrchr( name, '@' ); char *p, *end = strrchr( name, '@' );
if (!end || !end[1] || end == name) return -1; if (!end || !end[1] || end == name) return -1;
if (target_cpu != CPU_x86) return -1;
/* make sure all the rest is digits */ /* make sure all the rest is digits */
for (p = end + 1; *p; p++) if (!isdigit(*p)) return -1; for (p = end + 1; *p; p++) if (!isdigit(*p)) return -1;
*end = 0; *end = 0;