1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Remove remaining support for WindowsCE

--
This commit is contained in:
Werner Koch 2022-06-02 16:10:37 +02:00
parent d89557fe95
commit d2d7a2b128
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
23 changed files with 44 additions and 415 deletions

View file

@ -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;