aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2000-10-08 14:34:22 +0000
committerEric S. Raymond <esr@thyrsus.com>2000-10-08 14:34:22 +0000
commitc7f3b6621d652480a1b57a6ea2deddd4b71ff2fe (patch)
tree9b7c17d7bf73ffcf937eb9140535622df4c42d29 /fetchmail.h
parent288d03eaf77643d32abe2f009029e73955eb786c (diff)
downloadfetchmail-c7f3b6621d652480a1b57a6ea2deddd4b71ff2fe.tar.gz
fetchmail-c7f3b6621d652480a1b57a6ea2deddd4b71ff2fe.tar.bz2
fetchmail-c7f3b6621d652480a1b57a6ea2deddd4b71ff2fe.zip
Before showdots,
svn path=/trunk/; revision=2975
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/fetchmail.h b/fetchmail.h
index c6fc2ebd..bba30e21 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -496,7 +496,15 @@ char *xstrdup(const char *);
#pragma alloca
#endif
#endif
-#define xalloca(ptr, t, n) if (!(ptr = (t) alloca(n))) {report(stderr, "alloca failed"); exit(PS_UNDEFINED);}
+#define xalloca(ptr, t, n) if (!(ptr = (t) alloca(n)))\
+ {report(stderr, _("alloca failed")); exit(PS_UNDEFINED);}
+#if FALSE
+/*
+ * This is a hack to help xgettext which cannot find strings in
+ * macro definitions like the one for xalloca above.
+ */
+static char *dummy = gettext_noop("alloca failed");
+#endif
/* protocol driver and methods */
int do_protocol(struct query *, const struct method *);