diff options
author | Ben Elliston <bje@au.ibm.com> | 2001-11-29 03:23:40 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2001-11-29 03:23:40 +0000 |
commit | 2404ea55ab3d8b0fefaf834ca5cdc3fc39520ba1 (patch) | |
tree | 0f9830e44d8585c27de90f90d5f2c3b44525f386 /intl/textdomain.c | |
parent | cc89ffe60ba6d7f80278431ac8da8385d34c3af7 (diff) | |
download | gdb-cygnus.zip gdb-cygnus.tar.gz gdb-cygnus.tar.bz2 |
Import GNU gettext 0.10.35cygnus
Diffstat (limited to 'intl/textdomain.c')
-rw-r--r-- | intl/textdomain.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/intl/textdomain.c b/intl/textdomain.c index 55d9340..8855746 100644 --- a/intl/textdomain.c +++ b/intl/textdomain.c @@ -1,5 +1,5 @@ -/* Implementation of the textdomain(3) function - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. +/* Implementation of the textdomain(3) function. + Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc. Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. This program is free software; you can redistribute it and/or modify @@ -54,7 +54,9 @@ extern const char *_nl_current_default_domain; prefix. So we have to make a difference here. */ #ifdef _LIBC # define TEXTDOMAIN __textdomain -# define strdup(str) __strdup (str) +# ifndef strdup +# define strdup(str) __strdup (str) +# endif #else # define TEXTDOMAIN textdomain__ #endif |