From bf3b8c5d322f3771e4ee1bb68c02cfcffc14bd81 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 29 Jan 2004 16:19:43 +0000 Subject: [PATCH] Define xstrdup = strdup if no xmalloc should be used. --- gettext-tools/lib/progreloc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gettext-tools/lib/progreloc.c b/gettext-tools/lib/progreloc.c index fbf36eee7..355474980 100644 --- a/gettext-tools/lib/progreloc.c +++ b/gettext-tools/lib/progreloc.c @@ -1,5 +1,5 @@ /* Provide relocatable programs. - Copyright (C) 2003 Free Software Foundation, Inc. + Copyright (C) 2003-2004 Free Software Foundation, Inc. Written by Bruno Haible , 2003. This program is free software; you can redistribute it and/or modify it @@ -51,6 +51,7 @@ #ifdef NO_XMALLOC # define xmalloc malloc +# define xstrdup strdup #else # include "xalloc.h" #endif -- 2.47.3