Lines 43-46
Link Here
|
43 |
#endif |
43 |
#endif |
44 |
|
44 |
|
|
|
45 |
/* This is a kludge to make syscalls.list find these under the names |
46 |
pread and pwrite, since some kernel headers define those names |
47 |
and some define the *64 names for the same system calls. */ |
48 |
#if !defined __NR_pread && defined __NR_pread64 |
49 |
# define __NR_pread __NR_pread64 |
50 |
#endif |
51 |
#if !defined __NR_pwrite && defined __NR_pwrite64 |
52 |
# define __NR_pwrite __NR_pwrite64 |
53 |
#endif |
54 |
|
45 |
/* Define some aliases to make automatic syscall generation work |
55 |
/* Define some aliases to make automatic syscall generation work |
46 |
properly. The SYS_* variants are for the benefit of the files in |
56 |
properly. The SYS_* variants are for the benefit of the files in |