diff options
author | Greg Hudson <ghudson@mit.edu> | 2012-05-09 19:27:49 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2012-05-09 19:27:49 +0000 |
commit | 4f7dbd528914fe607e5ad820dfbb824c53ae7e97 (patch) | |
tree | 582d38e73fdffd1b53be11121f7da8266fb2dd5d /src/include | |
parent | 6b5bc54f09763e6fd6531a1b83759b1aa7415136 (diff) | |
download | krb5-4f7dbd528914fe607e5ad820dfbb824c53ae7e97.zip krb5-4f7dbd528914fe607e5ad820dfbb824c53ae7e97.tar.gz krb5-4f7dbd528914fe607e5ad820dfbb824c53ae7e97.tar.bz2 |
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
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/k5-platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/k5-platform.h b/src/include/k5-platform.h index d1896e7..9516524 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 |