diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-09-24 11:03:07 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-09-24 11:03:07 +0000 |
commit | 50a1b8375ed4d08f73edee842644a6e61cc2326a (patch) | |
tree | 02d5885f65ef5ca4ddb8c1d45c9c52616aa50169 /sysdeps | |
parent | 369b193374c8acc4e285c02cfed781f9fe3a018c (diff) | |
download | glibc-50a1b8375ed4d08f73edee842644a6e61cc2326a.zip glibc-50a1b8375ed4d08f73edee842644a6e61cc2326a.tar.gz glibc-50a1b8375ed4d08f73edee842644a6e61cc2326a.tar.bz2 |
Update.
* sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
of mempcpy. Reported by Andreas Jaeger.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/posix/getcwd.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/posix/getcwd.c b/sysdeps/posix/getcwd.c index ef4cb84..551fa72 100644 --- a/sysdeps/posix/getcwd.c +++ b/sysdeps/posix/getcwd.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -136,7 +136,9 @@ extern void free (); #endif /* Not ANSI_STRING. */ #ifdef _LIBC -# define mempcpy __mempcpy +# ifndef mempcpy +# define mempcpy __mempcpy +# endif # define HAVE_MEMPCPY 1 #endif |