Revision ac509d88 linux-user/signal.c
b/linux-user/signal.c | ||
---|---|---|
549 | 549 |
return ret; |
550 | 550 |
} |
551 | 551 |
|
552 |
#ifndef offsetof |
|
553 |
#define offsetof(type, field) ((size_t) &((type *)0)->field) |
|
554 |
#endif |
|
555 |
|
|
556 | 552 |
static inline int copy_siginfo_to_user(target_siginfo_t *tinfo, |
557 | 553 |
const target_siginfo_t *info) |
558 | 554 |
{ |
Also available in: Unified diff