summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/intl/gettextP.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-04-04 10:44:55 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:10:21 +0200
commitaebb5d75bd89da68bcd0e027a1123406d7ed0e25 (patch)
treed32194a88dc89ecc5443dce236509e4494c3e662 /gettext-runtime/intl/gettextP.h
parent055dcb1e5355b80131f7f112559019fbd986c270 (diff)
downloadexternal_gettext-aebb5d75bd89da68bcd0e027a1123406d7ed0e25.zip
external_gettext-aebb5d75bd89da68bcd0e027a1123406d7ed0e25.tar.gz
external_gettext-aebb5d75bd89da68bcd0e027a1123406d7ed0e25.tar.bz2
Fix dllexport mess on MSVC.
Diffstat (limited to 'gettext-runtime/intl/gettextP.h')
-rw-r--r--gettext-runtime/intl/gettextP.h28
1 files changed, 5 insertions, 23 deletions
diff --git a/gettext-runtime/intl/gettextP.h b/gettext-runtime/intl/gettextP.h
index f085c59..f1748a3 100644
--- a/gettext-runtime/intl/gettextP.h
+++ b/gettext-runtime/intl/gettextP.h
@@ -1,5 +1,5 @@
/* Header describing internals of libintl library.
- Copyright (C) 1995-1999, 2000-2002 Free Software Foundation, Inc.
+ Copyright (C) 1995-1999, 2000-2003 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@cygnus.com>, 1995.
This program is free software; you can redistribute it and/or modify it
@@ -208,33 +208,15 @@ extern char *__bindtextdomain PARAMS ((const char *__domainname,
extern char *__bind_textdomain_codeset PARAMS ((const char *__domainname,
const char *__codeset));
#else
-extern char *libintl_gettext PARAMS ((const char *__msgid));
-extern char *libintl_dgettext PARAMS ((const char *__domainname,
- const char *__msgid));
-extern char *libintl_dcgettext PARAMS ((const char *__domainname,
- const char *__msgid, int __category));
-extern char *libintl_ngettext PARAMS ((const char *__msgid1,
- const char *__msgid2,
- unsigned long int __n));
-extern char *libintl_dngettext PARAMS ((const char *__domainname,
- const char *__msgid1,
- const char *__msgid2,
- unsigned long int __n));
-extern char *libintl_dcngettext PARAMS ((const char *__domainname,
- const char *__msgid1,
- const char *__msgid2,
- unsigned long int __n,
- int __category));
+/* Declare the exported libintl_* functions, in a way that allows us to
+ call them under their real name. */
+# define _INTL_REDIRECT_MACROS
+# include "libgnuintl.h"
extern char *libintl_dcigettext PARAMS ((const char *__domainname,
const char *__msgid1,
const char *__msgid2,
int __plural, unsigned long int __n,
int __category));
-extern char *libintl_textdomain PARAMS ((const char *__domainname));
-extern char *libintl_bindtextdomain PARAMS ((const char *__domainname,
- const char *__dirname));
-extern char *libintl_bind_textdomain_codeset PARAMS ((const char *__domainname,
- const char *__codeset));
#endif
/* @@ begin of epilog @@ */