aboutsummaryrefslogtreecommitdiffstats
path: root/src/ath.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/ath.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/ath.c')
-rw-r--r--src/ath.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ath.c b/src/ath.c
index 6b4667ef..94d5eb1a 100644
--- a/src/ath.c
+++ b/src/ath.c
@@ -78,22 +78,14 @@ ath_self (void)
gpgme_ssize_t
ath_read (int fd, void *buf, size_t nbytes)
{
-#if defined(HAVE_W32CE_SYSTEM) && defined(_MSC_VER)
- return -1; /* Not supported. */
-#else
return read (fd, buf, nbytes);
-#endif
}
gpgme_ssize_t
ath_write (int fd, const void *buf, size_t nbytes)
{
-#if defined(HAVE_W32CE_SYSTEM) && defined(_MSC_VER)
- return -1; /* Not supported. */
-#else
return write (fd, buf, nbytes);
-#endif
}