summaryrefslogtreecommitdiffstats
path: root/common/dynload.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/dynload.h (renamed from common/dlfcn.h)12
1 files changed, 5 insertions, 7 deletions
diff --git a/common/dlfcn.h b/common/dynload.h
index c88bf3be9..d2df5f017 100644
--- a/common/dlfcn.h
+++ b/common/dynload.h
@@ -18,12 +18,11 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
+#ifndef GNUPG_DYNLOAD_H
+#define GNUPG_DYNLOAD_H
#ifndef __MINGW32__
-#include <dlfcn.h> /* include the actual header file */
+#include <dlfcn.h>
#else
-#ifndef W32_DLFCN_H
-#define W32_DLFCN_H
-
#include <windows.h>
static __inline__ void *
@@ -66,6 +65,5 @@ dlclose (void * hd)
}
return -1;
}
-
-#endif /*W32_DLFCN_H*/
-#endif
+#endif /*__MINGW32__*/
+#endif /*GNUPG_DYNLOAD_H*/