[5/5] msvcm80: Add __setusermatherr_m stub.

Vincent Povirk madewokherd at gmail.com
Fri May 4 11:10:41 CDT 2012


-------------- next part --------------
From 25340c860b7212f44944620ece03053b5faf63a1 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Fri, 4 May 2012 10:51:57 -0500
Subject: [PATCH 6/6] msvcm80: Add __setusermatherr_m stub.

---
 dlls/msvcm80/msvcm80.spec   |    2 +-
 dlls/msvcm80/msvcm80_main.c |    7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/dlls/msvcm80/msvcm80.spec b/dlls/msvcm80/msvcm80.spec
index 5c72393..86e50bf 100644
--- a/dlls/msvcm80/msvcm80.spec
+++ b/dlls/msvcm80/msvcm80.spec
@@ -300,7 +300,7 @@
 @ stub -arch=win64 ?setw at std@@YA?AU?$_Smanip at _J@1 at _J@Z
 @ stub ?signal@@YAP6MXH at ZHH@Z
 @ stub ?signal@@YAP6MXH at ZHP6MXH@Z at Z
-@ stub __setusermatherr_m
+@ cdecl __setusermatherr_m(ptr)
 @ stub towctrans
 @ stub wctrans
 @ stub wctype
diff --git a/dlls/msvcm80/msvcm80_main.c b/dlls/msvcm80/msvcm80_main.c
index cd38f5b..eb09898 100644
--- a/dlls/msvcm80/msvcm80_main.c
+++ b/dlls/msvcm80/msvcm80_main.c
@@ -50,3 +50,10 @@ void __cdecl CrtImplementationDetails_RegisterModuleUninitializer(void* handler)
     FIXME("%p: stub\n", handler);
 }
 
+/* handler is a "method" with signature int32 (*handler)(_exception*), but I'm
+ * not sure what that means */
+void __cdecl __setusermatherr_m(void *handler)
+{
+    FIXME("%p: stub\n", handler);
+}
+
-- 
1.7.9.5


More information about the wine-patches mailing list