diff options
author | Werner Koch <[email protected]> | 2010-11-04 08:16:57 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2010-11-04 08:16:57 +0000 |
commit | 44b27022588dd2c1fe495e305ea1e26187805619 (patch) | |
tree | 1651c8c7cabe142d905747a8407c9017d3c004c8 /src/w32-ce.h | |
parent | Hopefully last changes for building with MSC. (diff) | |
download | gpgme-44b27022588dd2c1fe495e305ea1e26187805619.tar.gz gpgme-44b27022588dd2c1fe495e305ea1e26187805619.zip |
More changes for W32CE with MSC.
Diffstat (limited to 'src/w32-ce.h')
-rw-r--r-- | src/w32-ce.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 */ |