diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/dynload.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index c1c3df077..3b693681f 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-10-27 Werner Koch <[email protected]> + + * dynload.h: Always use it for _WIN32. + 2004-10-21 Werner Koch <[email protected]> * util.h [!HAVE_VASPRINTF]: Removed prototype. diff --git a/include/dynload.h b/include/dynload.h index 36dbb8ce9..21e30131e 100644 --- a/include/dynload.h +++ b/include/dynload.h @@ -20,7 +20,7 @@ #ifndef GNUPG_DYNLOAD_H #define GNUPG_DYNLOAD_H -#ifdef ENABLE_CARD_SUPPORT +#if defined (ENABLE_CARD_SUPPORT) || defined(_WIN32) #ifndef _WIN32 #include <dlfcn.h> #else @@ -68,6 +68,6 @@ dlclose (void * hd) } return -1; } -#endif /*__MINGW32__*/ -#endif /*ENABLE_CARD_SUPPORT*/ +#endif /*_WIN32*/ +#endif /*ENABLE_CARD_SUPPORT||_WIN32*/ #endif /*GNUPG_DYNLOAD_H*/ |