programs/Xserver/hw/xfree86/loader/xf86sym.c

programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c Fix setjump0
    declaration for DllLoader.
This commit is contained in:
Matthieu Herrb 2005-04-01 21:28:50 +00:00
parent ef60998a82
commit fe37cc7e7b
2 changed files with 7 additions and 1 deletions

View File

@ -928,7 +928,7 @@ LOOKUP xfree86LookupTab[] = {
#endif
#else
SYMFUNCALIAS("xf86setjmp", setjmp)
SYMFUNCALIAS("xf86setjmp0", setjmp)
SYMFUNC(xf86setjmp0)
SYMFUNC(xf86setjmp1)
#endif
SYMFUNCALIAS("xf86longjmp", longjmp)

View File

@ -2123,6 +2123,12 @@ xf86setjmp1(xf86jmp_buf env, int arg2)
FatalError("setjmp: type 1 called instead of type %d", xf86getjmptype());
}
int
xf86setjmp0(xf86jmp_buf env)
{
return setjmp((void *)env);
}
#endif /* HAS_GLIBC_SIGSETJMP */
int