make_specfiles: Use cdecl for stub redirects to ucrtbase, just like to msvcr*.

This commit is contained in:
Martin Storsjo 2015-08-26 09:44:41 +03:00 committed by Alexandre Julliard
parent e26131fea3
commit b256c55d08
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ sub update_spec_file($)
if ($parent{callconv} ne "stub" || $parent{args})
{
my $callconv = $parent{callconv} ne "stub" ? $parent{callconv} :
$parent{spec} =~ /msvc/ ? "cdecl" : "stdcall"; # hack
$parent{spec} =~ /(msvc|ucrtbase)/ ? "cdecl" : "stdcall"; # hack
$_ = sprintf "$descr{ordinal} %s %s%s", $callconv, $flags, $func;
if ($parent{target} =~ /$group_head\./) # use the same forward as parent if possible