summaryrefslogtreecommitdiff
path: root/intl/textdomain.c
diff options
context:
space:
mode:
authorJacob Leach <jleach@src.gnome.org>2000-04-06 01:40:08 +0000
committerJacob Leach <jleach@src.gnome.org>2000-04-06 01:40:08 +0000
commit5ee0a8275335a5b0f1deb19ac506bbe0f2e75a22 (patch)
treee894d069a7b4d97661fdcecf2982903c04689819 /intl/textdomain.c
parenta30e996c94bdb971562811c4dab2fdd2cd457484 (diff)
downloadshared-mime-info-5ee0a8275335a5b0f1deb19ac506bbe0f2e75a22.tar.gz
Another bigger-than-probably-needs-to-be commit. All the file
renaming/removing should be completely done. Began glade-izing the dialogs, glade is awesome. Improved the requirement checks in the .spec and configure. Fixed a few crashes and then updated BUGS. We're getting closer to a new stable release. svn path=/trunk/; revision=1170
Diffstat (limited to 'intl/textdomain.c')
-rw-r--r--intl/textdomain.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/intl/textdomain.c b/intl/textdomain.c
index 55d93406..88557460 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