aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-08 10:20:56 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-08 10:20:56 -0700
commitb936be8e34738218e9741f3b36a0c27de99ec290 (patch)
treed0609e1a7e004eb50e56f7765341f337bb36c928 /fallback.h
parentb8f34cdd35cfddb4573e6b1ccc8f063b840b6b54 (diff)
Hack up gettext to try to fix CentOS build
Diffstat (limited to 'fallback.h')
-rw-r--r--fallback.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/fallback.h b/fallback.h
index 9d52498e..503bf07c 100644
--- a/fallback.h
+++ b/fallback.h
@@ -387,24 +387,16 @@ int futimes(int fd, const struct timeval *times);
#endif
-#ifndef HAVE_GETTEXT
+/* 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.
-*/
-char * gettext(const char * msgid);
-
-/**
- Fallback implementation of bindtextdomain. Does nothing.
-*/
-char * bindtextdomain(const char * domainname, const char * dirname);
+/** Fallback implementation of gettext. Just returns the original string. */
+char * fish_gettext(const char * msgid);
-/**
- Fallback implementation of textdomain. Does nothing.
-*/
-char * textdomain(const char * domainname);
+/** Fallback implementation of bindtextdomain. Does nothing. */
+char * fish_bindtextdomain(const char * domainname, const char * dirname);
-#endif
+/** Fallback implementation of textdomain. Does nothing. */
+char * fish_textdomain(const char * domainname);
#ifndef HAVE_DCGETTEXT