From a8982310af7830dd95576a3908a1a843015d099b Mon Sep 17 00:00:00 2001 From: drepper Date: Wed, 18 Mar 1998 15:27:27 +0000 Subject: [PATCH] Undefine __strdup and strdup first. --- string/strdup.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/string/strdup.c b/string/strdup.c index be3883f688..2e0852cb9e 100644 --- a/string/strdup.c +++ b/string/strdup.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1996, 1997, 1998 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 @@ -28,6 +28,9 @@ char *malloc (); char *memcpy (); #endif +#undef __strdup +#undef strdup + #ifndef weak_alias # define __strdup strdup #endif -- 2.11.0