aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32-gettext.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-11-02Changes for building on W32 without needing libintl.Werner Koch1-15/+11
2005-10-25Fix last change.Marcus Brinkmann1-3/+3
2005-10-252005-10-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-4/+72
* src/w32-gettext.c (get_string): Remove extra arguments to utf8_to_native_invocation. (utf8_to_wchar, wchar_to_native): New function. (utf8_to_native): Rewritten.
2005-10-252005-10-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+1648
* src/Makefile.am (arch_sources): New variable. (libgpg_error_la_SOURCES): Add $(arch_sources). * src/gettext.h [HAVE_W32_SYSTEM]: Include w32-gettext.h. * src/w32-gettext.h: New file. * src/w32-gettext.c: New file. * src/gpg-error.h.in: Check for gcc's constructor attribute. Use it for gpg_err_init. (GPG_ERR_INITIALIZED): Define if constructor is available. * src/gpg-error.c (main) [GPG_ERR_INITIALIZED]: Don't invoke gpg_err_init. (i18n_init): Call bindtextdomain as well. Now that gpg-error has its own gettext implementation, we can't rely on it anymore. Also, repeat all the w32 stuff for fetching the registry.