ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/lib/gettext.h
(Generate patch)

Comparing gvpe/lib/gettext.h (file contents):
Revision 1.2 by pcg, Thu Mar 3 16:54:34 2005 UTC vs.
Revision 1.4 by pcg, Tue Apr 26 00:55:55 2005 UTC

13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Library General Public License for more details. 14 Library General Public License for more details.
15 15
16 You should have received a copy of the GNU Library General Public 16 You should have received a copy of the GNU Library General Public
17 License along with gvpe; if not, write to the Free Software 17 License along with gvpe; if not, write to the Free Software
18 Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */ 19 */
20 20
21#ifndef _LIBGETTEXT_H 21#ifndef _LIBGETTEXT_H
22#define _LIBGETTEXT_H 1 22#define _LIBGETTEXT_H 1
23
24#if __cplusplus
25# include CLOCALE
26#else
27# include <locale.h>
28#endif
23 29
24/* NLS can be disabled through the configure --disable-nls option. */ 30/* NLS can be disabled through the configure --disable-nls option. */
25#if ENABLE_NLS 31#if ENABLE_NLS
26 32
27/* Get declarations of GNU message catalog functions. */ 33/* Get declarations of GNU message catalog functions. */
28# include <libintl.h> 34# include <libintl.h>
29# include <locale.h>
30 35
31/* Shorthand notation */ 36/* Shorthand notation */
32 37
33# define _(Text) gettext (Text) 38# define _(Text) gettext (Text)
34 39
61# define textdomain(Domainname) ((const char *) (Domainname)) 66# define textdomain(Domainname) ((const char *) (Domainname))
62# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) 67# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
63# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset)) 68# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
64 69
65# define _(Text) Text 70# define _(Text) Text
66# define setlocale(Category, Locale) ((const char *) (Locale)) 71//# define setlocale(Category, Locale) ((const char *) (Locale))
67 72
68#endif 73#endif
69 74
70/* A pseudo function call that serves as a marker for the automated 75/* A pseudo function call that serves as a marker for the automated
71 extraction of messages, but does not call gettext(). The run-time 76 extraction of messages, but does not call gettext(). The run-time

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines