aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-dotlock.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/t-dotlock.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/t-dotlock.c')
-rw-r--r--common/t-dotlock.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/t-dotlock.c b/common/t-dotlock.c
index 48f2e1f67..994ef1be3 100644
--- a/common/t-dotlock.c
+++ b/common/t-dotlock.c
@@ -59,11 +59,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);
@@ -73,7 +68,6 @@ w32_strerror (int ec)
if (n > 2 && strerr[n-2] == '\r' && strerr[n-1] == '\n' )
strerr[n-2] = 0;
}
-#endif
return strerr;
}