mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01: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 ();
|
||||
}
|
||||
|
||||
/* Return true if the native charset is utf-8. */
|
||||
static int
|
||||
is_native_utf8 (void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
static char *
|
||||
my_trim_spaces (char *str)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user