mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Builds again for W32.
This commit is contained in:
parent
fb2ba98963
commit
0f4eefb094
8 changed files with 39 additions and 17 deletions
|
@ -29,6 +29,7 @@
|
|||
#ifdef HAVE_LOCALE_H
|
||||
#include <locale.h>
|
||||
#endif
|
||||
#include <gpg-error.h> /* We need gettext_localename for W32. */
|
||||
|
||||
#include "../common/w32help.h"
|
||||
|
||||
|
@ -101,7 +102,7 @@ gnupg_messages_locale_name (void)
|
|||
const char *s;
|
||||
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
/* We use the localname function from ../common/w32-gettext.c. */
|
||||
/* We use the localename function libgpg-error. */
|
||||
s = gettext_localename ();
|
||||
#else
|
||||
s = do_nl_locale_name (LC_MESSAGES, "LC_MESSAGES");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue