提交 3ceb89ed 编写于 作者: S Szabolcs Nagy

fix semid_ds structure on mips

This used to be broken when all archs had the same semid_ds definition:
there is no padding around the time_t members on mips.
上级 514c2dd2
struct semid_ds { struct semid_ds {
struct ipc_perm sem_perm; struct ipc_perm sem_perm;
time_t sem_otime; time_t sem_otime;
time_t __unused1;
time_t sem_ctime; time_t sem_ctime;
time_t __unused2;
#if __BYTE_ORDER == __LITTLE_ENDIAN #if __BYTE_ORDER == __LITTLE_ENDIAN
unsigned short sem_nsems; unsigned short sem_nsems;
char __sem_nsems_pad[sizeof(time_t)-sizeof(short)]; char __sem_nsems_pad[sizeof(time_t)-sizeof(short)];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册