Signed-off-by: Alex Henrie alexhenrie24@gmail.com --- For https://stackoverflow.com/questions/49397035/trying-to-use-winelib-with-stan...
.../api-ms-win-crt-runtime-l1-1-0.spec | 2 +- dlls/ucrtbase/ucrtbase.spec | 2 +- include/msvcrt/stdlib.h | 1 + 3 files changed, 3 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 50856a580c..24014a65ba 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 @@ -1,4 +1,4 @@ -@ stub _Exit +@ cdecl _Exit(long) ucrtbase._Exit @ cdecl -arch=i386 __control87_2(long long ptr ptr) ucrtbase.__control87_2 @ cdecl __doserrno() ucrtbase.__doserrno @ cdecl __fpe_flt_rounds() ucrtbase.__fpe_flt_rounds diff --git a/dlls/ucrtbase/ucrtbase.spec b/dlls/ucrtbase/ucrtbase.spec index ce226fe536..236b0d526d 100644 --- a/dlls/ucrtbase/ucrtbase.spec +++ b/dlls/ucrtbase/ucrtbase.spec @@ -20,7 +20,7 @@ @ cdecl _CreateFrameInfo(ptr ptr) @ stdcall _CxxThrowException(ptr ptr) @ cdecl -arch=i386 -norelay _EH_prolog() -@ stub _Exit +@ cdecl _Exit(long) MSVCRT__exit @ stub _FCbuild @ stub _FCmulcc @ stub _FCmulcr diff --git a/include/msvcrt/stdlib.h b/include/msvcrt/stdlib.h index 2851e190d4..8d0a7c5a76 100644 --- a/include/msvcrt/stdlib.h +++ b/include/msvcrt/stdlib.h @@ -179,6 +179,7 @@ errno_t __cdecl _ui64toa_s(unsigned __int64,char*,size_t,int); char* __cdecl _ultoa(__msvcrt_ulong,char*,int); errno_t __cdecl _ultoa_s(__msvcrt_ulong,char*,size_t,int);
+void __cdecl _Exit(int); void __cdecl _exit(int); void __cdecl abort(void); int __cdecl abs(int);