summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2004-01-29 16:19:43 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:45 +0200
commitbf3b8c5d322f3771e4ee1bb68c02cfcffc14bd81 (patch)
treef005800f3eae0283e5ba0243c10b8b6e39a7bdd7 /gettext-tools
parente73daed908ffcd4368239974bba146b8417c6702 (diff)
downloadexternal_gettext-bf3b8c5d322f3771e4ee1bb68c02cfcffc14bd81.zip
external_gettext-bf3b8c5d322f3771e4ee1bb68c02cfcffc14bd81.tar.gz
external_gettext-bf3b8c5d322f3771e4ee1bb68c02cfcffc14bd81.tar.bz2
Define xstrdup = strdup if no xmalloc should be used.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/lib/progreloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gettext-tools/lib/progreloc.c b/gettext-tools/lib/progreloc.c
index fbf36ee..3554749 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 <bruno@clisp.org>, 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