summaryrefslogtreecommitdiff
path: root/ldso/ldso/sh/dl-syscalls.h
blob: 7902f362d583ee7ce5a9fab184b9c94b76fbe98b (plain)
1
2
3
4
5
6
7
8
9
10
11
/* We can't use the real errno in ldso, since it has not yet
 * been dynamicly linked in yet. */
#include "sys/syscall.h"
extern int _dl_errno;
#undef __set_errno
#define __set_errno(X) {(_dl_errno) = (X);}
#warning !!! __always_inline redefined waiting for the fixed gcc
#ifdef __always_inline
#undef __always_inline
#define __always_inline inline
#endif