[PATCH] ucrtbase: Hook up the _set_app_type, _set_new_handler and _set_new_mode functions

Martin Storsjo martin at martin.st
Wed Aug 26 02:24:30 CDT 2015


These have changed function signature since msvcr120. _set_app_type
used to be called __set_app_type, and the _set_new_* functions
used to have C++ signatures.
---
If this is applied after the api-ms-win-crt-* stubs have been
added, the heap and runtime stub DLL specs need to be updated with
make_specfiles.
---
 dlls/ucrtbase/ucrtbase.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec
index d6516d7..aacffb8 100644
--- a/dlls/ucrtbase/ucrtbase.spec
+++ b/dlls/ucrtbase/ucrtbase.spec
@@ -1881,15 +1881,15 @@
 @ stdcall -arch=i386 _seh_longjmp_unwind(ptr)
 @ cdecl -arch=i386 _set_SSE2_enable(long) MSVCRT__set_SSE2_enable
 @ cdecl _set_abort_behavior(long long) MSVCRT__set_abort_behavior
-@ stub _set_app_type
+@ cdecl _set_app_type(long) MSVCRT___set_app_type
 @ cdecl _set_controlfp(long long)
 @ cdecl _set_doserrno(long)
 @ cdecl _set_errno(long)
 @ cdecl _set_error_mode(long)
 @ cdecl _set_fmode(long) MSVCRT__set_fmode
 @ cdecl _set_invalid_parameter_handler(ptr)
-@ stub _set_new_handler
-@ stub _set_new_mode
+@ cdecl _set_new_handler(ptr) MSVCRT_set_new_handler
+@ cdecl _set_new_mode(long) MSVCRT__set_new_mode
 @ cdecl _set_printf_count_output(long) MSVCRT__set_printf_count_output
 @ cdecl _set_purecall_handler(ptr)
 @ stub _set_se_translator
-- 
1.8.1.2




More information about the wine-patches mailing list