diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2013-04-08 10:20:56 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2013-04-08 10:20:56 -0700 |
commit | b936be8e34738218e9741f3b36a0c27de99ec290 (patch) | |
tree | d0609e1a7e004eb50e56f7765341f337bb36c928 /fallback.h | |
parent | b8f34cdd35cfddb4573e6b1ccc8f063b840b6b54 (diff) |
Hack up gettext to try to fix CentOS build
Diffstat (limited to 'fallback.h')
-rw-r--r-- | fallback.h | 22 |
1 files changed, 7 insertions, 15 deletions
@@ -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 |