common: Fix regression in building argpase.c standalone.

* common/argparse.c (is_native_utf8) [GNUPG_MAJOR_VERSION]: New.
This commit is contained in:
Werner Koch 2015-08-31 20:21:43 +02:00
parent 836a3e4315
commit bc23e69b70
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 7 additions and 0 deletions

View File

@ -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)
{