common: Fix regression in building argpase.c standalone.
authorWerner Koch <wk@gnupg.org>
Mon, 31 Aug 2015 18:21:43 +0000 (20:21 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 1 Sep 2015 05:37:12 +0000 (07:37 +0200)
* common/argparse.c (is_native_utf8) [GNUPG_MAJOR_VERSION]: New.

common/argparse.c

index e9d98f0..53c20fc 100644 (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)
 {