mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue