projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ gas/ChangeLog ]
[binutils-gdb.git]
/
intl
/
textdomain.c
diff --git
a/intl/textdomain.c
b/intl/textdomain.c
index 55d93406a8a0212bdef9a592bc718861c25fb757..88557460f3b3a6535da599ba233f51309b276999 100644
(file)
--- 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
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
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
#else
# define TEXTDOMAIN textdomain__
#endif