aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-08 12:02:43 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-08 12:02:43 -0700
commit8bbd8ab0737b7c1c0843760243bb0436871da311 (patch)
tree8b3cbae8931f1290def16d44b4911e20be7d23e7 /fallback.h
parentb936be8e34738218e9741f3b36a0c27de99ec290 (diff)
Hack up dcgettext to try to fix CentOS build
Diffstat (limited to 'fallback.h')
-rw-r--r--fallback.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/fallback.h b/fallback.h
index 503bf07c..433f48d5 100644
--- a/fallback.h
+++ b/fallback.h
@@ -389,25 +389,17 @@ int futimes(int fd, const struct timeval *times);
/* autoconf may fail to detect gettext (645), so don't define a function call gettext or we'll get build errors */
-/** Fallback implementation of gettext. Just returns the original string. */
+/** Cover for gettext() */
char * fish_gettext(const char * msgid);
-/** Fallback implementation of bindtextdomain. Does nothing. */
+/** Cover for bindtextdomain() */
char * fish_bindtextdomain(const char * domainname, const char * dirname);
-/** Fallback implementation of textdomain. Does nothing. */
+/** Cover for textdomain() */
char * fish_textdomain(const char * domainname);
-#ifndef HAVE_DCGETTEXT
-
-/**
- Fallback implementation of dcgettext. Just returns the original string.
-*/
-char * dcgettext(const char * domainname,
- const char * msgid,
- int category);
-
-#endif
+/* Cover for dcgettext */
+char * fish_dcgettext(const char * domainname, const char * msgid, int category);
#ifndef HAVE__NL_MSG_CAT_CNTR