From 6d8560297be954e2ff73c9545300ae1b477b7433 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 18 Jan 2006 12:11:42 +0000 Subject: get rid of alpha defines --- libc/misc/sysvipc/shm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/misc/sysvipc') 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); -- cgit v1.2.3