mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-21 11:31:07 +00:00
update intl to gettext 0.21
rebuilt with own iconv
This commit is contained in:
parent
d4ec123b26
commit
ac4e333ba2
2 changed files with 22 additions and 1 deletions
23
deps/intl/include/libintl.h
vendored
23
deps/intl/include/libintl.h
vendored
|
@ -54,7 +54,7 @@ extern "C" {
|
|||
|
||||
|
||||
/* Version number: (major<<16) + (minor<<8) + subminor */
|
||||
#define LIBINTL_VERSION 0x001402
|
||||
#define LIBINTL_VERSION 0x001500
|
||||
extern int libintl_version;
|
||||
|
||||
|
||||
|
@ -291,6 +291,27 @@ extern char *bindtextdomain (const char *__domainname, const char *__dirname)
|
|||
_INTL_ASM (libintl_bindtextdomain);
|
||||
#endif
|
||||
|
||||
#if defined _WIN32 && !defined __CYGWIN__
|
||||
/* Specify that the DOMAINNAME message catalog will be found
|
||||
in WDIRNAME rather than in the system locale data base. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
extern wchar_t *libintl_wbindtextdomain (const char *__domainname,
|
||||
const wchar_t *__wdirname);
|
||||
static inline wchar_t *wbindtextdomain (const char *__domainname,
|
||||
const wchar_t *__wdirname)
|
||||
{
|
||||
return libintl_wbindtextdomain (__domainname, __wdirname);
|
||||
}
|
||||
#else
|
||||
#ifdef _INTL_REDIRECT_MACROS
|
||||
# define wbindtextdomain libintl_wbindtextdomain
|
||||
#endif
|
||||
extern wchar_t *wbindtextdomain (const char *__domainname,
|
||||
const wchar_t *__wdirname)
|
||||
_INTL_ASM (libintl_wbindtextdomain);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Specify the character encoding in which the messages from the
|
||||
DOMAINNAME message catalog will be returned. */
|
||||
#ifdef _INTL_REDIRECT_INLINE
|
||||
|
|
BIN
deps/intl/lib/libintl.a
vendored
BIN
deps/intl/lib/libintl.a
vendored
Binary file not shown.
Loading…
Reference in a new issue