diff options
author | Werner Koch <[email protected]> | 2015-08-31 18:21:43 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-09-01 05:37:12 +0000 |
commit | bc23e69b70191f887dcb937007833d0187af181f (patch) | |
tree | bebed641846836740999fbcbad98e027af2df9af /common/argparse.c | |
parent | Typo fixes (diff) | |
download | gnupg-bc23e69b70191f887dcb937007833d0187af181f.tar.gz gnupg-bc23e69b70191f887dcb937007833d0187af181f.zip |
common: Fix regression in building argpase.c standalone.
* common/argparse.c (is_native_utf8) [GNUPG_MAJOR_VERSION]: New.
Diffstat (limited to '')
-rw-r--r-- | common/argparse.c | 7 |
1 files changed, 7 insertions, 0 deletions
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) { |