From bc23e69b70191f887dcb937007833d0187af181f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 31 Aug 2015 20:21:43 +0200 Subject: common: Fix regression in building argpase.c standalone. * common/argparse.c (is_native_utf8) [GNUPG_MAJOR_VERSION]: New. --- common/argparse.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/argparse.c') diff --git a/common/argparse.c b/common/argparse.c index e9d98f063..53c20fca7 100644 --- a/common/argparse.c +++ b/common/argparse.c @@ -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) { -- cgit v1.2.3