diff options
author | Roland McGrath <roland@gnu.org> | 1998-12-20 19:13:11 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1998-12-20 19:13:11 +0000 |
commit | 6ac73ea734be9f238e65a7df07db88b49851526a (patch) | |
tree | fe23265a702a41fdbbd9dcaf3431f14bd730bbcb /bits | |
parent | c5720a93963d3c47fdac1d41b0e2629e927ca63b (diff) | |
download | glibc-6ac73ea734be9f238e65a7df07db88b49851526a.tar.gz glibc-6ac73ea734be9f238e65a7df07db88b49851526a.tar.xz glibc-6ac73ea734be9f238e65a7df07db88b49851526a.zip |
1998-12-06 Mark Kettenis <kettenis@phys.uva.nl>
Reverse the change of 1998-04-22. Providing a struct dirent with different members when __USE_FILE_OFFSET64 is defined is asking for trouble. Instead add the necessary LFS magic to the 4.4BSD header. * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Add LFS definitions. * sysdeps/mach/hurd/bits/dirent.h: Removed. * sysdeps/mach/hurd/readdir64.c: Removed. * sysdeps/mach/hurd/readdir64_r.c: Removed. * sysdeps/generic/bits/mman.h [__USE_MISC] (MAP_ANONYMOUS): Define as alias for MAP_ANON. * stdio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr): Remove decls. They don't exist at all on the Hurd.
Diffstat (limited to 'bits')
-rw-r--r-- | bits/mman.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bits/mman.h b/bits/mman.h index 0afdf202a1..99e3bcd1e8 100644 --- a/bits/mman.h +++ b/bits/mman.h @@ -41,6 +41,9 @@ # define MAP_FILE 0x0001 /* Mapped from a file or device. */ # define MAP_ANON 0x0002 /* Allocated from anonymous virtual memory. */ # define MAP_TYPE 0x000f /* Mask for type field. */ +# ifdef __USE_MISC +# define MAP_ANONYMOUS MAP_ANON /* Linux name. */ +# endif #endif /* Sharing types (must choose one and only one of these). */ |