[PATCH v2] ucrtbase: Hook up the terminate function
Martin Storsjo
martin at martin.st
Wed Oct 28 04:39:11 CDT 2015
Signed-off-by: Martin Storsjo <martin at martin.st>
---
This wasn't hooked up immediately since the terminate function was
exported with a different name (with C++ name mangling) in the
earlier msvcrt versions.
Update in v2: Regenerated the api-ms-win-crt-runtime spec file
as well, by rerunning tools/make_specfiles.
---
dlls/api-ms-win-crt-runtime-l1-1-0/api-ms-win-crt-runtime-l1-1-0.spec | 2 +-
dlls/ucrtbase/ucrtbase.spec | 2 +-
2 files changed, 2 insertions(+), 2 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 2f0bb33..d52b81b 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
@@ -104,4 +104,4 @@
@ cdecl strerror(long) ucrtbase.strerror
@ cdecl strerror_s(ptr long long) ucrtbase.strerror_s
@ cdecl system(str) ucrtbase.system
-@ stub terminate
+@ cdecl terminate() ucrtbase.terminate
diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec
index 0e1a191..6877bef 100644
--- a/dlls/ucrtbase/ucrtbase.spec
+++ b/dlls/ucrtbase/ucrtbase.spec
@@ -2532,7 +2532,7 @@
@ cdecl -arch=arm,x86_64 tanf(float) MSVCRT_tanf
@ cdecl tanh(double) MSVCRT_tanh
@ cdecl -arch=arm,x86_64 tanhf(float) MSVCRT_tanhf
-@ stub terminate
+@ cdecl terminate() MSVCRT_terminate
@ stub tgamma
@ stub tgammaf
@ stub tgammal
--
1.8.1.2
More information about the wine-patches
mailing list