From 44b27022588dd2c1fe495e305ea1e26187805619 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 4 Nov 2010 08:16:57 +0000 Subject: More changes for W32CE with MSC. --- src/w32-ce.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/w32-ce.h') diff --git a/src/w32-ce.h b/src/w32-ce.h index 9be361f7..fafaa06c 100644 --- a/src/w32-ce.h +++ b/src/w32-ce.h @@ -75,6 +75,11 @@ void *_gpgme_wince_bsearch (const void *key, const void *base, int (*compar) (const void *, const void *)); #define bsearch(a,b,c,d,e) _gpgme_wince_bsearch ((a),(b),(c),(d),(e)) - +/* Remove the redefined __leave keyword. It is defined by MSC for W32 + in excpt.h and not in sehmap.h as for the plain windows + version. */ +#if defined(_MSC_VER) && defined(HAVE_W32CE_SYSTEM) +# undef leave +#endif #endif /* GPGME_W32_CE_H */ -- cgit v1.2.3