From: Greg Hudson Date: Wed, 9 May 2012 19:27:49 +0000 (+0000) Subject: Add no-op macro for ngettext for non-NLS builds X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4f7dbd528914fe607e5ad820dfbb824c53ae7e97;p=krb5.git Add no-op macro for ngettext for non-NLS builds r25857 (#7128) uses ngettext, which means we need a no-op macro for it when we're building without NLS support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25859 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/k5-platform.h b/src/include/k5-platform.h index d1896e7f8..951652497 100644 --- a/src/include/k5-platform.h +++ b/src/include/k5-platform.h @@ -1073,6 +1073,7 @@ int k5_path_isabs(const char *path); #else #define _(s) s #define dgettext(d, m) m +#define ngettext(m1, m2, n) (((n) == 1) ? m1 : m2) #define bindtextdomain(p, d) #define setlocale(c, l) #endif