[PATCH v2 07/22] make_specfiles: Use cdecl for stub redirects to ucrtbase, just like to msvcr*
Martin Storsjo
martin at martin.st
Mon Aug 3 14:26:06 CDT 2015
---
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
More information about the wine-patches
mailing list