From 3c04dea3ecebed35208f6b631b2e8b04222ea432 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 31 Oct 2018 12:27:27 +0100 Subject: w32: Remove all support for WindowsCE * configure.ac: Remove WindwosCE support. * contrib/: Remove all; it was only used for WindowsCE. * src/w32-ce.c, src/w32-ce.h: Remove files. * src/Makefile.am (system_components): Remove these files. * src/ath.c, src/ath.h: Remove W32CE support. * src/data-compat.c (gpgme_data_new_from_filepart): Ditto. (gpgme_data_new_from_file): Ditto. * src/debug.c (debug_init, _gpgme_debug): Ditto. * src/gpgme-tool.c (gpgme_server): Ditto. (main): Ditto. * src/priv-io.h: Do not include w32-ce.h. * src/util.h: Remove WindowsCE support. * src/w32-io.c: Ditto. * src/w32-util.c: Ditto. * src/debug.h (TRACE_SUC4): New. -- There is no more hardware to test our code, the support for Windows CE terminated along time ago. Note that our code worked only with the old WindowsCE with that overall system limit of 31 processes. Signed-off-by: Werner Koch --- src/data-compat.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/data-compat.c') diff --git a/src/data-compat.c b/src/data-compat.c index 87eaeef5..1f04c462 100644 --- a/src/data-compat.c +++ b/src/data-compat.c @@ -43,9 +43,6 @@ gpgme_error_t gpgme_data_new_from_filepart (gpgme_data_t *r_dh, const char *fname, FILE *stream, gpgme_off_t offset, size_t length) { -#if defined (HAVE_W32CE_SYSTEM) && defined (_MSC_VER) - return gpgme_error (GPG_ERR_NOT_IMPLEMENTED); -#else gpgme_error_t err; char *buf = NULL; int res; @@ -114,7 +111,6 @@ gpgme_data_new_from_filepart (gpgme_data_t *r_dh, const char *fname, (*r_dh)->data.mem.length = length; return TRACE_SUC1 ("r_dh=%p", *r_dh); -#endif } @@ -123,9 +119,6 @@ gpgme_data_new_from_filepart (gpgme_data_t *r_dh, const char *fname, gpgme_error_t gpgme_data_new_from_file (gpgme_data_t *r_dh, const char *fname, int copy) { -#if defined (HAVE_W32CE_SYSTEM) && defined (_MSC_VER) - return gpgme_error (GPG_ERR_NOT_IMPLEMENTED); -#else gpgme_error_t err; struct stat statbuf; TRACE_BEG3 (DEBUG_DATA, "gpgme_data_new_from_file", r_dh, @@ -139,7 +132,6 @@ gpgme_data_new_from_file (gpgme_data_t *r_dh, const char *fname, int copy) err = gpgme_data_new_from_filepart (r_dh, fname, NULL, 0, statbuf.st_size); return TRACE_ERR (err); -#endif } -- cgit v1.2.3