aboutsummaryrefslogtreecommitdiffstats
path: root/src/data-compat.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-10-31 11:27:27 +0000
committerWerner Koch <[email protected]>2018-10-31 11:35:14 +0000
commit3c04dea3ecebed35208f6b631b2e8b04222ea432 (patch)
treeb8dbdf9bbceed60e1b2f9b4615e0a3d1dad9d550 /src/data-compat.c
parentw32: Remove cruft in w32-io from WindowsME times. (diff)
downloadgpgme-3c04dea3ecebed35208f6b631b2e8b04222ea432.tar.gz
gpgme-3c04dea3ecebed35208f6b631b2e8b04222ea432.zip
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 <[email protected]>
Diffstat (limited to 'src/data-compat.c')
-rw-r--r--src/data-compat.c8
1 files changed, 0 insertions, 8 deletions
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
}