diff options
author | Werner Koch <[email protected]> | 2018-10-31 11:27:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-10-31 11:35:14 +0000 |
commit | 3c04dea3ecebed35208f6b631b2e8b04222ea432 (patch) | |
tree | b8dbdf9bbceed60e1b2f9b4615e0a3d1dad9d550 /src/debug.c | |
parent | w32: Remove cruft in w32-io from WindowsME times. (diff) | |
download | gpgme-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/debug.c')
-rw-r--r-- | src/debug.c | 14 |
1 files changed, 0 insertions, 14 deletions
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 { |