summaryrefslogtreecommitdiffstats
path: root/common/dynload.h
diff options
context:
space:
mode:
authorTimo Schulz <twoaday@freakmail.de>2003-08-14 14:16:58 +0200
committerTimo Schulz <twoaday@freakmail.de>2003-08-14 14:16:58 +0200
commitf099ed75b84dcafb02c8dbebe885ea3e76e26cb7 (patch)
tree8098da6bdff29e08a220328d4b6d39c8ab65638f /common/dynload.h
parent2003-08-14 Timo Schulz <twoaday@freakmail.de> (diff)
downloadgnupg2-f099ed75b84dcafb02c8dbebe885ea3e76e26cb7.tar.xz
gnupg2-f099ed75b84dcafb02c8dbebe885ea3e76e26cb7.zip
*** empty log message ***
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*/