Fabian Maurer : msvcr120: Add fesetenv stub.

Alexandre Julliard julliard at winehq.org
Tue Feb 7 16:02:30 CST 2017


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

Author: Fabian Maurer <dark.shadow4 at web.de>
Date:   Tue Feb  7 17:42:34 2017 +0100

msvcr120: Add fesetenv stub.

Signed-off-by: Fabian Maurer <dark.shadow4 at web.de>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 .../api-ms-win-crt-runtime-l1-1-0.spec                           | 2 +-
 dlls/msvcr120/msvcr120.spec                                      | 2 +-
 dlls/msvcr120_app/msvcr120_app.spec                              | 2 +-
 dlls/msvcrt/math.c                                               | 9 +++++++++
 dlls/ucrtbase/ucrtbase.spec                                      | 2 +-
 5 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec b/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
index 3dc6b20..6cea910 100644
--- a/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
+++ b/dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec
@@ -92,7 +92,7 @@
 @ stub fegetexceptflag
 @ stub fegetround
 @ stub feholdexcept
-@ stub fesetenv
+@ cdecl fesetenv(ptr) ucrtbase.fesetenv
 @ stub fesetexceptflag
 @ stub fesetround
 @ stub fetestexcept
diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec
index fa9eef3..62481c0 100644
--- a/dlls/msvcr120/msvcr120.spec
+++ b/dlls/msvcr120/msvcr120.spec
@@ -2151,7 +2151,7 @@
 @ cdecl feof(ptr) MSVCRT_feof
 @ stub feraiseexcept
 @ cdecl ferror(ptr) MSVCRT_ferror
-@ stub fesetenv
+@ cdecl fesetenv(ptr) MSVCRT_fesetenv
 @ stub fesetexceptflag
 @ stub fesetround
 @ stub fetestexcept
diff --git a/dlls/msvcr120_app/msvcr120_app.spec b/dlls/msvcr120_app/msvcr120_app.spec
index 1b6e5a8..a74a140 100644
--- a/dlls/msvcr120_app/msvcr120_app.spec
+++ b/dlls/msvcr120_app/msvcr120_app.spec
@@ -1817,7 +1817,7 @@
 @ cdecl feof(ptr) msvcr120.feof
 @ stub feraiseexcept
 @ cdecl ferror(ptr) msvcr120.ferror
-@ stub fesetenv
+@ cdecl fesetenv(ptr) msvcr120.fesetenv
 @ stub fesetexceptflag
 @ stub fesetround
 @ stub fetestexcept
diff --git a/dlls/msvcrt/math.c b/dlls/msvcrt/math.c
index 55e2efc..db8e441 100644
--- a/dlls/msvcrt/math.c
+++ b/dlls/msvcrt/math.c
@@ -1268,6 +1268,15 @@ void CDECL _fpreset(void)
 }
 
 /*********************************************************************
+ *              fesetenv (MSVCR120.@)
+ */
+int CDECL MSVCRT_fesetenv(const MSVCRT_fenv_t *env)
+{
+    FIXME("(%p) stub\n", env);
+    return 0;
+}
+
+/*********************************************************************
  *		_isnan (MSVCRT.@)
  */
 INT CDECL MSVCRT__isnan(double num)
diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec
index 85f196b..7602698 100644
--- a/dlls/ucrtbase/ucrtbase.spec
+++ b/dlls/ucrtbase/ucrtbase.spec
@@ -2293,7 +2293,7 @@
 @ stub feholdexcept
 @ cdecl feof(ptr) MSVCRT_feof
 @ cdecl ferror(ptr) MSVCRT_ferror
-@ stub fesetenv
+@ cdecl fesetenv(ptr) MSVCRT_fesetenv
 @ stub fesetexceptflag
 @ stub fesetround
 @ stub fetestexcept




More information about the wine-cvs mailing list