aboutsummaryrefslogtreecommitdiffstats
path: root/common/mischelp.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/mischelp.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/mischelp.c')
-rw-r--r--common/mischelp.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/common/mischelp.c b/common/mischelp.c
index 81dd501f8..68fd2bc24 100644
--- a/common/mischelp.c
+++ b/common/mischelp.c
@@ -81,34 +81,12 @@ same_file_p (const char *name1, const char *name2)
HANDLE file1, file2;
BY_HANDLE_FILE_INFORMATION info1, info2;
-#ifdef HAVE_W32CE_SYSTEM
- {
- wchar_t *wname = utf8_to_wchar (name1);
- if (wname)
- file1 = CreateFile (wname, 0, 0, NULL, OPEN_EXISTING, 0, NULL);
- else
- file1 = INVALID_HANDLE_VALUE;
- xfree (wname);
- }
-#else
file1 = CreateFile (name1, 0, 0, NULL, OPEN_EXISTING, 0, NULL);
-#endif
if (file1 == INVALID_HANDLE_VALUE)
yes = 0; /* If we can't open the file, it is not the same. */
else
{
-#ifdef HAVE_W32CE_SYSTEM
- {
- wchar_t *wname = utf8_to_wchar (name2);
- if (wname)
- file2 = CreateFile (wname, 0, 0, NULL, OPEN_EXISTING, 0, NULL);
- else
- file2 = INVALID_HANDLE_VALUE;
- xfree (wname);
- }
-#else
file2 = CreateFile (name2, 0, 0, NULL, OPEN_EXISTING, 0, NULL);
-#endif
if (file2 == INVALID_HANDLE_VALUE)
yes = 0; /* If we can't open the file, it is not the same. */
else