https://git.reactos.org/?p=reactos.git;a=commitdiff;h=a644e7f5fd3064239928414803eda8748b911ee2

commit a644e7f5fd3064239928414803eda8748b911ee2
Author:     Hervé Poussineau <[email protected]>
AuthorDate: Wed Jan 6 16:36:48 2021 +0100
Commit:     Hervé Poussineau <[email protected]>
CommitDate: Thu Jan 7 21:12:11 2021 +0100

    [CRT/x64] Disable MSVCRT__setjmp function, which references non-existent 
function __wine_setjmpex
    
    _setjmp is already defined in sdk/lib/crt/setjmp/amd64/setjmp.s
---
 sdk/lib/crt/wine/except_x86_64.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sdk/lib/crt/wine/except_x86_64.c b/sdk/lib/crt/wine/except_x86_64.c
index e91b8628297..9e7676413de 100644
--- a/sdk/lib/crt/wine/except_x86_64.c
+++ b/sdk/lib/crt/wine/except_x86_64.c
@@ -674,11 +674,13 @@ unsigned int CDECL __CxxQueryExceptionSize(void)
 }
 
 
+#ifndef __REACTOS__
 /*******************************************************************
  *             _setjmp (MSVCRT.@)
  */
 __ASM_GLOBAL_FUNC( MSVCRT__setjmp,
                    "jmp " __ASM_NAME("__wine_setjmpex") );
+#endif
 
 /*******************************************************************
  *             longjmp (MSVCRT.@)

Reply via email to