From: Martin Storsjo Subject: [PATCH v2 07/22] make_specfiles: Use cdecl for stub redirects to ucrtbase, just like to msvcr* Message-Id: <1438629981-27217-7-git-send-email-martin@martin.st> Date: Mon, 3 Aug 2015 22:26:06 +0300 --- As pointed out by Sebastian, this is new in the second round of the patchset. --- tools/make_specfiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make_specfiles b/tools/make_specfiles index e967e68..7b0b365 100755 --- a/tools/make_specfiles +++ b/tools/make_specfiles @@ -358,7 +358,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 -- 2.3.2.223.g7a9409c