diff --git a/dlls/crtdll/crtdll.spec b/dlls/crtdll/crtdll.spec index d7e73e94ea3..3ccf28191e0 100644 --- a/dlls/crtdll/crtdll.spec +++ b/dlls/crtdll/crtdll.spec @@ -266,7 +266,7 @@ init CRTDLL_Init 261 stub _scalb 262 stub _searchenv 263 stub _seterrormode -264 stub _setjmp +264 cdecl _setjmp (ptr) CRTDLL__setjmp 265 cdecl _setmode(long long) CRTDLL__setmode 266 stub _setsystime 267 cdecl _sleep(long) CRTDLL__sleep diff --git a/dlls/crtdll/crtdll_main.c b/dlls/crtdll/crtdll_main.c index cc4d3e0c155..ac6a0c4b1ed 100644 --- a/dlls/crtdll/crtdll_main.c +++ b/dlls/crtdll/crtdll_main.c @@ -304,6 +304,14 @@ void __cdecl CRTDLL__local_unwind2( PEXCEPTION_FRAME endframe, DWORD nr ) { TRACE("(%p,%ld)\n",endframe,nr); } +/******************************************************************* + * _setjmp (CRTDLL.264) + */ +INT __cdecl CRTDLL__setjmp(LPDWORD *jmpbuf) +{ + FIXME(":(%p): stub\n",jmpbuf); + return 0; +} /********************************************************************* * _read (CRTDLL.256) *