summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-18 12:11:42 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-18 12:11:42 +0000
commit6d8560297be954e2ff73c9545300ae1b477b7433 (patch)
treeef4b774f4291a4c246ae2df4907dc621057888d0
parent9f3eba863e386e2c604313c99f1da37d7cfdadea (diff)
get rid of alpha defines
-rw-r--r--libc/misc/sysvipc/shm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/misc/sysvipc/shm.c b/libc/misc/sysvipc/shm.c
index 14a1ee32b..4ad94e22f 100644
--- a/libc/misc/sysvipc/shm.c
+++ b/libc/misc/sysvipc/shm.c
@@ -32,8 +32,8 @@ libc_hidden_proto(getpagesize)
/* Attach the shared memory segment associated with SHMID to the data
segment of the calling process. SHMADDR and SHMFLG determine how
and where the segment is attached. */
-#if defined (__alpha__)
-#define __NR_shmat __NR_osf_shmat
+#if defined(__NR_osf_shmat)
+# define __NR_shmat __NR_osf_shmat
#endif
#ifdef __NR_shmat
_syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg);