aboutsummaryrefslogtreecommitdiffstats
path: root/pc/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'pc/dlfcn.h')
-rw-r--r--pc/dlfcn.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/pc/dlfcn.h b/pc/dlfcn.h
new file mode 100644
index 00000000..64ef4bc5
--- /dev/null
+++ b/pc/dlfcn.h
@@ -0,0 +1,12 @@
+/* dlfcn.h replacement for MS-Windows build. */
+#ifndef DLFCN_H
+#define DLFCN_H
+
+#define RTLD_LAZY 1
+
+extern void *dlopen (const char *, int);
+extern int dlclose (void *);
+extern void *dlsym (void *, const char *);
+extern char *dlerror (void);
+
+#endif /* DLFCN_H */