]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/intl.h
gcc/testsuite/
[thirdparty/gcc.git] / gcc / intl.h
index 2df9b178c00cf85a2d781d109b08e7243351caa2..0baef54a3f696ca1821591ca9c7854ed22a80788 100644 (file)
@@ -1,5 +1,5 @@
 /* intl.h - internationalization
-   Copyright 1998, 2001, 2003, 2004, 2007, 2009 Free Software Foundation, Inc.
+   Copyright (C) 1998-2019 Free Software Foundation, Inc.
 
    GCC is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -38,8 +38,13 @@ extern size_t gcc_gettext_width (const char *);
 # define bindtextdomain(domain, directory) (domain)
 # undef gettext
 # define gettext(msgid) (msgid)
+# define ngettext(singular,plural,n) fake_ngettext (singular, plural, n)
 # define gcc_init_libintl()    /* nothing */
-# define gcc_gettext_width(s) strlen(s)
+# define gcc_gettext_width(s) strlen (s)
+
+extern const char *fake_ngettext (const char *singular, const char *plural,
+                                 unsigned long int n);
+
 #endif
 
 #ifndef _