ソースを参照

Fixup fdatasync on alpha, thanks to Alan Hourihane

Eric Andersen 21 年 前
コミット
0dccbee4eb
1 ファイル変更7 行追加0 行削除
  1. 7 0
      libc/sysdeps/linux/common/fdatasync.c

+ 7 - 0
libc/sysdeps/linux/common/fdatasync.c

@@ -9,4 +9,11 @@
 
 #include "syscalls.h"
 #include <unistd.h>
+
+#if defined (__alpha__)
+#undef  __NR_fdatasync
+#define __NR_fdatasync __NR_osf_fdatasync
+#endif
+
 _syscall1(int, fdatasync, int, fd);
+