about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-24 11:03:07 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-24 11:03:07 +0000
commit50a1b8375ed4d08f73edee842644a6e61cc2326a (patch)
tree02d5885f65ef5ca4ddb8c1d45c9c52616aa50169 /sysdeps/posix
parent369b193374c8acc4e285c02cfed781f9fe3a018c (diff)
downloadglibc-50a1b8375ed4d08f73edee842644a6e61cc2326a.tar.gz
glibc-50a1b8375ed4d08f73edee842644a6e61cc2326a.tar.xz
glibc-50a1b8375ed4d08f73edee842644a6e61cc2326a.zip
Update.
	* sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition
	of mempcpy.  Reported by Andreas Jaeger.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/getcwd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/posix/getcwd.c b/sysdeps/posix/getcwd.c
index ef4cb84191..551fa7241e 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