pcsxr-1.9.92
[pcsx_rearmed.git] / win32 / intl / intl-compat.c
1 /* intl-compat.c - Stub functions to call gettext functions from GNU gettext
2    Library.
3    Copyright (C) 1995 Software Foundation, Inc.
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307 USA.  */
18
19 #include "intlconfig.h"
20
21 #include "libgettext.h"
22
23 /* @@ end of prolog @@ */
24
25
26 #undef gettext
27 #undef dgettext
28 #undef dcgettext
29 #undef textdomain
30 #undef bindtextdomain
31
32
33 char *
34 bindtextdomain (domainname, dirname)
35      const char *domainname;
36      const char *dirname;
37 {
38   return bindtextdomain__ (domainname, dirname);
39 }
40
41
42 char *
43 dcgettext (domainname, msgid, category)
44      const char *domainname;
45      const char *msgid;
46      int category;
47 {
48   return dcgettext__ (domainname, msgid, category);
49 }
50
51
52 char *
53 dgettext (domainname, msgid)
54      const char *domainname;
55      const char *msgid;
56 {
57   return dgettext__ (domainname, msgid);
58 }
59
60
61 char *
62 gettext (msgid)
63      const char *msgid;
64 {
65   return gettext__ (msgid);
66 }
67
68
69 char *
70 textdomain (domainname)
71      const char *domainname;
72 {
73   return textdomain__ (domainname);
74 }