summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gmodule/ChangeLog6
-rw-r--r--gmodule/gmodule.c22
2 files changed, 28 insertions, 0 deletions
diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog
index 6bea38cd4..2cc6751ef 100644
--- a/gmodule/ChangeLog
+++ b/gmodule/ChangeLog
@@ -1,3 +1,9 @@
+Thu Aug 20 07:08:16 1998 Tim Janik <timj@gtk.org>
+
+ * gmodule.c: provide no operation implementation for the underlying
+ _g_module_* functions, so we at least compile on systems that have
+ neither of G_MODULE_IMPL_DL or G_MODULE_IMPL_DLD.
+
Mon Aug 17 03:41:52 1998 Tim Janik <timj@gtk.org>
* gmodule.h:
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index 7bf28c168..6ab51086d 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -110,6 +110,28 @@ g_module_set_error (const gchar *error)
#else
#undef CHECK_ERROR
#define CHECK_ERROR(rv) { g_module_set_error ("unsupported"); return rv; }
+static gpointer
+_g_module_open (const gchar *file_name,
+ gboolean bind_lazy)
+{
+ return NULL;
+}
+static void
+_g_module_close (gpointer handle,
+ gboolean is_unref)
+{
+}
+static gpointer
+_g_module_self (void)
+{
+ return NULL;
+}
+static gpointer
+_g_module_symbol (gpointer handle,
+ const gchar *symbol_name)
+{
+ return NULL;
+}
#endif /* no implementation */