aboutsummaryrefslogtreecommitdiffstats
path: root/common/utf8conv.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-06-02 14:10:37 +0000
committerWerner Koch <[email protected]>2022-06-03 08:08:21 +0000
commitd2d7a2b128e981740ee3a3c6e2859bec0202cb86 (patch)
treee4e8e62681ca9ae4cb678c0a9ac85d2b25ebd7a9 /common/utf8conv.c
parenttools: Minor fix to gpg-connect-agent options. (diff)
downloadgnupg-d2d7a2b128e981740ee3a3c6e2859bec0202cb86.tar.gz
gnupg-d2d7a2b128e981740ee3a3c6e2859bec0202cb86.zip
Remove remaining support for WindowsCE
--
Diffstat (limited to 'common/utf8conv.c')
-rw-r--r--common/utf8conv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/utf8conv.c b/common/utf8conv.c
index 1f01841c7..8b66e7f41 100644
--- a/common/utf8conv.c
+++ b/common/utf8conv.c
@@ -170,10 +170,8 @@ set_native_charset (const char *newset)
different one for console input. Not sure how to cope with
that. If the console Code page is not known we fall back to
the system code page. */
-#ifndef HAVE_W32CE_SYSTEM
cpno = GetConsoleOutputCP ();
if (!cpno)
-#endif
cpno = GetACP ();
sprintf (codepage, "CP%u", cpno );
/* Resolve alias. We use a long string string and not the usual
@@ -806,10 +804,8 @@ get_w32_codepage (void)
if (!cp)
{
-#ifndef HAVE_W32CE_SYSTEM
cp = GetConsoleOutputCP ();
if (!cp)
-#endif
cp = GetACP ();
}
return cp;