OSDN Git Service

Make sh4 build works again adding a temporary work-around
[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 #include "sys/syscall.h"
4 extern int _dl_errno;
5 #undef __set_errno
6 #define __set_errno(X) {(_dl_errno) = (X);}
7 #warning !!! __always_inline redefined waiting for the fixed gcc
8 #ifdef __always_inline
9 #undef __always_inline
10 #define __always_inline inline
11 #endif