aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/I18n.hh15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/I18n.hh b/src/I18n.hh
index 26292c5..1960870 100644
--- a/src/I18n.hh
+++ b/src/I18n.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: I18n.hh,v 1.2 2003/12/08 17:29:24 fluxgen Exp $ 25// $Id: I18n.hh,v 1.3 2004/03/13 11:14:21 fluxgen Exp $
26 26
27#ifndef I18N_HH 27#ifndef I18N_HH
28#define I18N_HH 28#define I18N_HH
@@ -33,6 +33,7 @@
33#include "config.h" 33#include "config.h"
34#endif // HAVE_CONFIG_H 34#endif // HAVE_CONFIG_H
35 35
36
36#ifdef HAVE_LOCALE_H 37#ifdef HAVE_LOCALE_H
37#include <locale.h> 38#include <locale.h>
38#endif // HAVE_LOCALE_H 39#endif // HAVE_LOCALE_H
@@ -42,6 +43,18 @@
42extern "C" { 43extern "C" {
43#include <nl_types.h> 44#include <nl_types.h>
44} 45}
46#elif defined(__CYGWIN__)
47#ifdef __cplusplus
48extern "C" {
49#endif // __cplusplus
50typedef int nl_catd;
51char *catgets(nl_catd cat, int set_number, int message_number, char *message);
52nl_catd catopen(char *name, int flag);
53void catclose(nl_catd cat);
54#ifdef __cplusplus
55}
56#endif // __cplusplus
57
45#endif // HAVE_NL_TYPES_H 58#endif // HAVE_NL_TYPES_H
46 59
47#include <string> 60#include <string>