projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b5bc54
)
Add no-op macro for ngettext for non-NLS builds
author
Greg Hudson
<ghudson@mit.edu>
Wed, 9 May 2012 19:27:49 +0000
(19:27 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Wed, 9 May 2012 19:27:49 +0000
(19:27 +0000)
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
patch
|
blob
|
history
diff --git
a/src/include/k5-platform.h
b/src/include/k5-platform.h
index d1896e7f8f156180d430a433491598cf70d54b38..951652497b02b8a64270b7488f49896ae6a2df56 100644
(file)
--- 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