5059ab35f3
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1552 6952d904-891a-0410-993b-d76249ca496b
25 lines
939 B
Diff
25 lines
939 B
Diff
===================================================================
|
|
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/sysdep.h,v
|
|
retrieving revision 1.16
|
|
retrieving revision 1.17
|
|
diff -u -r1.16 -r1.17
|
|
--- libc/sysdeps/unix/sysv/linux/alpha/sysdep.h 2003/06/20 16:24:36 1.16
|
|
+++ libc/sysdeps/unix/sysv/linux/alpha/sysdep.h 2004/03/23 23:31:47 1.17
|
|
@@ -65,6 +65,16 @@
|
|
# define __NR_semtimedop 423
|
|
#endif
|
|
|
|
+/* This is a kludge to make syscalls.list find these under the names
|
|
+ pread and pwrite, since some kernel headers define those names
|
|
+ and some define the *64 names for the same system calls. */
|
|
+#if !defined __NR_pread && defined __NR_pread64
|
|
+# define __NR_pread __NR_pread64
|
|
+#endif
|
|
+#if !defined __NR_pwrite && defined __NR_pwrite64
|
|
+# define __NR_pwrite __NR_pwrite64
|
|
+#endif
|
|
+
|
|
/*
|
|
* In order to get the hidden arguments for rt_sigaction set up
|
|
* properly, we need to call the assembly version. This shouldn't
|