mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-19 13:40:59 +08:00
Update.
* iconv/iconv_prog.c (main): Don't unconditionally define variables only use if _POSIX_MAPPED_FILES is defined.
This commit is contained in:
parent
73c342ebcc
commit
d3f8be6d13
@ -1,5 +1,8 @@
|
||||
2001-07-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* iconv/iconv_prog.c (main): Don't unconditionally define
|
||||
variables only use if _POSIX_MAPPED_FILES is defined.
|
||||
|
||||
* sysdeps/unix/sysv/aix/sendmsg.c (sendmsg): Fix return type.
|
||||
* sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
|
||||
|
||||
|
@ -246,8 +246,10 @@ main (int argc, char *argv[])
|
||||
else
|
||||
do
|
||||
{
|
||||
#ifdef _POSIX_MAPPED_FILES
|
||||
struct stat st;
|
||||
char *addr;
|
||||
#endif
|
||||
int fd;
|
||||
|
||||
if (verbose)
|
||||
|
Loading…
x
Reference in New Issue
Block a user