From b256c55d08fb8147ba791ec001f6cd00caea26a8 Mon Sep 17 00:00:00 2001 From: Martin Storsjo Date: Wed, 26 Aug 2015 09:44:41 +0300 Subject: [PATCH] make_specfiles: Use cdecl for stub redirects to ucrtbase, just like to msvcr*. --- tools/make_specfiles | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/make_specfiles b/tools/make_specfiles index 00e609c8cda..54495cf3451 100755 --- a/tools/make_specfiles +++ b/tools/make_specfiles @@ -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