svn commit: trunk/uClibc/libc/misc/sysvipc
vapier at uclibc.org
vapier at uclibc.org
Wed Jan 18 12:11:43 UTC 2006
Author: vapier
Date: 2006-01-18 04:11:42 -0800 (Wed, 18 Jan 2006)
New Revision: 13390
Log:
get rid of alpha defines
Modified:
trunk/uClibc/libc/misc/sysvipc/shm.c
Changeset:
Modified: trunk/uClibc/libc/misc/sysvipc/shm.c
===================================================================
--- trunk/uClibc/libc/misc/sysvipc/shm.c 2006-01-18 12:10:22 UTC (rev 13389)
+++ trunk/uClibc/libc/misc/sysvipc/shm.c 2006-01-18 12:11:42 UTC (rev 13390)
@@ -32,8 +32,8 @@
/* 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);
More information about the uClibc-cvs
mailing list