]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Define xstrdup = strdup if no xmalloc should be used. v0.14
authorBruno Haible <bruno@clisp.org>
Thu, 29 Jan 2004 16:19:43 +0000 (16:19 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:45 +0000 (12:11 +0200)
gettext-tools/lib/progreloc.c

index fbf36eee71d1e475b56395aa7a4921b44f90735e..35547498003ce5c681de6a575f648016de7e39c3 100644 (file)
@@ -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