Răsfoiți Sursa

get rid of alpha defines

Mike Frysinger 20 ani în urmă
părinte
comite
6d8560297b
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      libc/misc/sysvipc/shm.c

+ 2 - 2
libc/misc/sysvipc/shm.c

@@ -32,8 +32,8 @@ libc_hidden_proto(getpagesize)
 /* Attach the shared memory segment associated with SHMID to the data
 /* Attach the shared memory segment associated with SHMID to the data
    segment of the calling process.  SHMADDR and SHMFLG determine how
    segment of the calling process.  SHMADDR and SHMFLG determine how
    and where the segment is attached.  */
    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
 #endif
 #ifdef __NR_shmat
 #ifdef __NR_shmat
 _syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg);
 _syscall3(void *, shmat, int, shmid, const void *,shmaddr, int, shmflg);