[CRT/x64] Disable MSVCRT__setjmp function, which references non-existent function...
authorHervé Poussineau <hpoussin@reactos.org>
Wed, 6 Jan 2021 15:36:48 +0000 (16:36 +0100)
committerHervé Poussineau <hpoussin@reactos.org>
Thu, 7 Jan 2021 20:12:11 +0000 (21:12 +0100)
_setjmp is already defined in sdk/lib/crt/setjmp/amd64/setjmp.s

sdk/lib/crt/wine/except_x86_64.c

index e91b862..9e76764 100644 (file)
@@ -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.@)