OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80908df
)
fix sem funcs on 64bit arches
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 14 Jan 2006 00:16:31 +0000
(
00:16
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 14 Jan 2006 00:16:31 +0000
(
00:16
-0000)
libc/misc/sysvipc/ipc.h
patch
|
blob
|
history
diff --git
a/libc/misc/sysvipc/ipc.h
b/libc/misc/sysvipc/ipc.h
index
105232f
..
071e55f
100644
(file)
--- a/
libc/misc/sysvipc/ipc.h
+++ b/
libc/misc/sysvipc/ipc.h
@@
-1,8
+1,13
@@
#ifndef IPC_H
#define IPC_H
#include <syscall.h>
+#include <bits/wordsize.h>
-#define __IPC_64 0x100
+#if __WORDSIZE == 32
+# define __IPC_64 0x100
+#else
+# define __IPC_64 0x0
+#endif
#ifdef __NR_ipc