mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
common: Fix regression in building argpase.c standalone.
* common/argparse.c (is_native_utf8) [GNUPG_MAJOR_VERSION]: New.
This commit is contained in:
parent
836a3e4315
commit
bc23e69b70
@ -123,6 +123,13 @@ my_log_bug (const char *fmt, ...)
|
|||||||
abort ();
|
abort ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Return true if the native charset is utf-8. */
|
||||||
|
static int
|
||||||
|
is_native_utf8 (void)
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
my_trim_spaces (char *str)
|
my_trim_spaces (char *str)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user