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:
parent
d89557fe95
commit
d2d7a2b128
23 changed files with 44 additions and 415 deletions
|
@ -783,11 +783,6 @@ w32_strerror (int ec)
|
|||
|
||||
if (ec == -1)
|
||||
ec = (int)GetLastError ();
|
||||
#ifdef HAVE_W32CE_SYSTEM
|
||||
/* There is only a wchar_t FormatMessage. It does not make much
|
||||
sense to play the conversion game; we print only the code. */
|
||||
snprintf (strerr, sizeof strerr, "ec=%d", (int)GetLastError ());
|
||||
#else
|
||||
FormatMessage (FORMAT_MESSAGE_FROM_SYSTEM, NULL, ec,
|
||||
MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT),
|
||||
strerr, DIM (strerr)-1, NULL);
|
||||
|
@ -797,7 +792,6 @@ w32_strerror (int ec)
|
|||
if (n > 2 && strerr[n-2] == '\r' && strerr[n-1] == '\n' )
|
||||
strerr[n-2] = 0;
|
||||
}
|
||||
#endif
|
||||
return strerr;
|
||||
}
|
||||
#endif /*HAVE_W32_SYSTEM*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue