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

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 26 09:57:10 CDT 2015


Module: wine
Branch: master
Commit: b256c55d08fb8147ba791ec001f6cd00caea26a8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b256c55d08fb8147ba791ec001f6cd00caea26a8

Author: Martin Storsjo <martin at martin.st>
Date:   Wed Aug 26 09:44:41 2015 +0300

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 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




More information about the wine-cvs mailing list