mirror of git://sourceware.org/git/glibc.git
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>
|
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/sendmsg.c (sendmsg): Fix return type.
|
||||||
* sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
|
* sysdeps/unix/sysv/aix/recvmsg.c (recvmsg): Likewise.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -246,8 +246,10 @@ main (int argc, char *argv[])
|
||||||
else
|
else
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
#ifdef _POSIX_MAPPED_FILES
|
||||||
struct stat st;
|
struct stat st;
|
||||||
char *addr;
|
char *addr;
|
||||||
|
#endif
|
||||||
int fd;
|
int fd;
|
||||||
|
|
||||||
if (verbose)
|
if (verbose)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue