diff options
author | NIIBE Yutaka <[email protected]> | 2022-03-29 04:41:04 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2022-03-29 04:41:04 +0000 |
commit | d05221065fafd5a4694f14910e16afe90e3cd0dd (patch) | |
tree | 04e1b97d3a20a7d6c442327c886821538fa00add /dirmngr/cdblib.c | |
parent | gpg,tools: Remove use of repo only zlib-riscos.h. (diff) | |
download | gnupg-d05221065fafd5a4694f14910e16afe90e3cd0dd.tar.gz gnupg-d05221065fafd5a4694f14910e16afe90e3cd0dd.zip |
dirmngr: Clean up for not supporting WindowsCE.
* dirmngr/Makefile.am (dirmngr_SOURCES): Remove w32-ldap-help.h.
* dirmngr/cdblib.c (cdb_init): Remove for __MINGW32CE__.
* dirmngr/w32-ldap-help.h: Remove.
--
Fixes-commit: 4c295646ba0e175743e6be13457308c1e6d21dd3
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'dirmngr/cdblib.c')
-rw-r--r-- | dirmngr/cdblib.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/dirmngr/cdblib.c b/dirmngr/cdblib.c index c40126396..dde9dfa0c 100644 --- a/dirmngr/cdblib.c +++ b/dirmngr/cdblib.c @@ -131,11 +131,7 @@ cdb_init(struct cdb *cdbp, int fd) } /* memory-map file */ #ifdef _WIN32 -# ifdef __MINGW32CE__ - hFile = fd; -# else hFile = (HANDLE) _get_osfhandle(fd); -# endif if (hFile == (HANDLE) -1) return -1; hMapping = CreateFileMapping(hFile, NULL, PAGE_READONLY, 0, 0, NULL); |