OSDN Git Service

Add a local '_dl_errno' to be used by syscalls in ldso, allowing
[uclinux-h8/uClibc.git] / ldso / ldso / sh / dl-syscalls.h
1 /* We can't use the real errno in ldso, since it has not yet
2  * been dynamicly linked in yet. */
3 extern int _dl_errno;
4 #define __set_errno(X) {(_dl_errno) = (X);}
5 #include "sys/syscall.h"
6