[PATCH v2 01/16] make_specfiles: Use cdecl for stub redirects to ucrtbase, just like to msvcr*
Martin Storsjo
martin at martin.st
Wed Aug 26 01:44:41 CDT 2015
---
tools/make_specfiles | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/make_specfiles b/tools/make_specfiles
index 00e609c..54495cf 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
--
1.8.1.2
More information about the wine-patches
mailing list