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/debug.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/debug.c') diff --git a/src/debug.c b/src/debug.c index 37baabb0..84aa4084 100644 --- a/src/debug.c +++ b/src/debug.c @@ -150,16 +150,12 @@ debug_init (void) } else { -#ifdef HAVE_W32CE_SYSTEM - e = _gpgme_w32ce_get_debug_envvar (); -#else /*!HAVE_W32CE_SYSTEM*/ err = _gpgme_getenv ("GPGME_DEBUG", &e); if (err) { UNLOCK (debug_lock); return; } -#endif /*!HAVE_W32CE_SYSTEM*/ } initialized = 1; @@ -257,15 +253,6 @@ _gpgme_debug (int level, const char *format, ...) va_start (arg_ptr, format); LOCK (debug_lock); { -#ifdef HAVE_W32CE_SYSTEM - SYSTEMTIME t; - - GetLocalTime (&t); - fprintf (errfp, "GPGME %04d-%02d-%02d %02d:%02d:%02d <0x%04llx> ", - t.wYear, t.wMonth, t.wDay, - t.wHour, t.wMinute, t.wSecond, - (unsigned long long) ath_self ()); -#else struct tm *tp; time_t atime = time (NULL); @@ -274,7 +261,6 @@ _gpgme_debug (int level, const char *format, ...) 1900+tp->tm_year, tp->tm_mon+1, tp->tm_mday, tp->tm_hour, tp->tm_min, tp->tm_sec, (unsigned long long) ath_self ()); -#endif } #ifdef FRAME_NR { -- cgit v1.2.3