diff options
Diffstat (limited to 'src/interfaces/libpq/libpq-int.h')
-rw-r--r-- | src/interfaces/libpq/libpq-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h index 60329048f23..4ef46fff47d 100644 --- a/src/interfaces/libpq/libpq-int.h +++ b/src/interfaces/libpq/libpq-int.h @@ -653,8 +653,12 @@ extern ssize_t pgtls_write(PGconn *conn, const void *ptr, size_t len); extern char * libpq_gettext(const char *msgid) __attribute__((format_arg(1))); +extern char * +libpq_ngettext(const char *msgid, const char *msgid_plural, unsigned long n) +__attribute__((format_arg(1))) __attribute__((format_arg(2))); #else #define libpq_gettext(x) (x) +#define libpq_ngettext(s, p, n) ((n) == 1 ? (s) : (p)) #endif /* |