aboutsummaryrefslogtreecommitdiffstats
path: root/include/dynload.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dynload.h')
-rw-r--r--include/dynload.h6
1 files changed, 3 insertions, 3 deletions
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*/