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:
parent
ef60998a82
commit
fe37cc7e7b
|
@ -928,7 +928,7 @@ LOOKUP xfree86LookupTab[] = {
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
SYMFUNCALIAS("xf86setjmp", setjmp)
|
SYMFUNCALIAS("xf86setjmp", setjmp)
|
||||||
SYMFUNCALIAS("xf86setjmp0", setjmp)
|
SYMFUNC(xf86setjmp0)
|
||||||
SYMFUNC(xf86setjmp1)
|
SYMFUNC(xf86setjmp1)
|
||||||
#endif
|
#endif
|
||||||
SYMFUNCALIAS("xf86longjmp", longjmp)
|
SYMFUNCALIAS("xf86longjmp", longjmp)
|
||||||
|
|
|
@ -2123,6 +2123,12 @@ xf86setjmp1(xf86jmp_buf env, int arg2)
|
||||||
FatalError("setjmp: type 1 called instead of type %d", xf86getjmptype());
|
FatalError("setjmp: type 1 called instead of type %d", xf86getjmptype());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
xf86setjmp0(xf86jmp_buf env)
|
||||||
|
{
|
||||||
|
return setjmp((void *)env);
|
||||||
|
}
|
||||||
|
|
||||||
#endif /* HAS_GLIBC_SIGSETJMP */
|
#endif /* HAS_GLIBC_SIGSETJMP */
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue