From 50a1b8375ed4d08f73edee842644a6e61cc2326a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 24 Sep 1998 11:03:07 +0000 Subject: Update. * sysdeps/posix/getcwd.c: Prevent compiler warning from redefinition of mempcpy. Reported by Andreas Jaeger. --- sysdeps/posix/getcwd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sysdeps/posix') 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 -- cgit v1.2.3