aboutsummaryrefslogtreecommitdiffhomepage
path: root/fallback.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-07-20 08:55:49 +1000
committerGravatar axel <axel@liljencrantz.se>2006-07-20 08:55:49 +1000
commitb2e2743195a103561047d1be6e448a07a414c12d (patch)
treeab3f024fc1a371e48c2de8b3456fc2f6466bdc58 /fallback.c
parent1dc033f71c258fe792338e486aa64ee70fc49a0c (diff)
Remove translate.c. The gettext fallback functionality is moved to fallback.c, the wide wrapper is moved to wutil.c
darcs-hash:20060719225549-ac50b-0a55e805b04f4fe0afa99ea580901d62f39cdef5.gz
Diffstat (limited to 'fallback.c')
-rw-r--r--fallback.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/fallback.c b/fallback.c
index 95889ede..cad56171 100644
--- a/fallback.c
+++ b/fallback.c
@@ -1029,6 +1029,25 @@ int futimes(int fd, const struct timeval *times)
return -1;
}
+#endif
+
+#ifndef HAVE_GETTEXT
+
+char * gettext (const char * msgid)
+{
+ return msgid;
+}
+
+char * bindtextdomain (const char * domainname, const char * dirname)
+{
+ return 0;
+}
+
+char * textdomain (const char * domainname)
+{
+ return 0;
+}
#endif
+