svn rev #25859: trunk/src/include/
ghudson@MIT.EDU
ghudson at MIT.EDU
Wed May 9 15:27:49 EDT 2012
http://src.mit.edu/fisheye/changelog/krb5/?cs=25859
Commit By: ghudson
Log Message:
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.
Changed Files:
U trunk/src/include/k5-platform.h
Modified: trunk/src/include/k5-platform.h
===================================================================
--- trunk/src/include/k5-platform.h 2012-05-09 17:55:27 UTC (rev 25858)
+++ trunk/src/include/k5-platform.h 2012-05-09 19:27:49 UTC (rev 25859)
@@ -1073,6 +1073,7 @@
#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
More information about the cvs-krb5
mailing list