浏览代码

Fix a stupid typo messing up powerpc support
-Erik

Eric Andersen 23 年之前
父节点
当前提交
73307a085a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ldso/ldso/ld_syscall.h

+ 1 - 1
ldso/ldso/ld_syscall.h

@@ -51,7 +51,7 @@ static inline _syscall1(void, _dl_exit, int, status);
 static inline _syscall1(int, _dl_close, int, fd);
 
 
-#if defined(__powerpc) || defined(__mips__) || defined(__sh__)
+#if defined(__powerpc__) || defined(__mips__) || defined(__sh__)
 /* PowerPC, MIPS and SuperH have a different calling convention for mmap(). */
 #define __NR__dl_mmap __NR_mmap
 static inline _syscall6(void *, _dl_mmap, void *, start, size_t, length,