From 4f7dbd528914fe607e5ad820dfbb824c53ae7e97 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 9 May 2012 19:27:49 +0000 Subject: [PATCH] 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 --- src/include/k5-platform.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2