aboutsummaryrefslogtreecommitdiffstats
path: root/common/dynload.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/dynload.h')
-rw-r--r--common/dynload.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/common/dynload.h b/common/dynload.h
new file mode 100644
index 00000000..bd9e86f7
--- /dev/null
+++ b/common/dynload.h
@@ -0,0 +1,14 @@
+#ifndef AL_DYNLOAD_H
+#define AL_DYNLOAD_H
+
+#if defined(_WIN32) || defined(HAVE_DLFCN_H)
+
+#define HAVE_DYNLOAD
+
+void *LoadLib(const char *name);
+void CloseLib(void *handle);
+void *GetSymbol(void *handle, const char *name);
+
+#endif
+
+#endif /* AL_DYNLOAD_H */