comparison gcc/intl.h @ 16:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents b7f97abdc517
children 84e7813d76e9
comparison
equal deleted inserted replaced
15:561a7518be6b 16:04ced10e8804
1 /* intl.h - internationalization 1 /* intl.h - internationalization
2 Copyright 1998, 2001, 2003, 2004, 2007, 2009, 2010 2 Copyright (C) 1998-2017 Free Software Foundation, Inc.
3 Free Software Foundation, Inc.
4 3
5 GCC is free software; you can redistribute it and/or modify 4 GCC is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by 5 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option) 6 the Free Software Foundation; either version 3, or (at your option)
8 any later version. 7 any later version.
37 # define textdomain(domain) (domain) 36 # define textdomain(domain) (domain)
38 # undef bindtextdomain 37 # undef bindtextdomain
39 # define bindtextdomain(domain, directory) (domain) 38 # define bindtextdomain(domain, directory) (domain)
40 # undef gettext 39 # undef gettext
41 # define gettext(msgid) (msgid) 40 # define gettext(msgid) (msgid)
42 # define ngettext(singular,plural,n) fake_ngettext(singular,plural,n) 41 # define ngettext(singular,plural,n) fake_ngettext (singular, plural, n)
43 # define gcc_init_libintl() /* nothing */ 42 # define gcc_init_libintl() /* nothing */
44 # define gcc_gettext_width(s) strlen(s) 43 # define gcc_gettext_width(s) strlen (s)
45 44
46 extern const char *fake_ngettext(const char *singular,const char *plural, 45 extern const char *fake_ngettext (const char *singular, const char *plural,
47 unsigned long int n); 46 unsigned long int n);
48 47
49 #endif 48 #endif
50 49
51 #ifndef _ 50 #ifndef _
52 # define _(msgid) gettext (msgid) 51 # define _(msgid) gettext (msgid)