provide no operation implementation for the underlying _g_module_*
authorTim Janik <timj@gtk.org>
Thu, 20 Aug 1998 05:10:27 +0000 (05:10 +0000)
committerTim Janik <timj@src.gnome.org>
Thu, 20 Aug 1998 05:10:27 +0000 (05:10 +0000)
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.

gmodule/ChangeLog
gmodule/gmodule.c

index 6bea38c..2cc6751 100644 (file)
@@ -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:
index 7bf28c1..6ab5108 100644 (file)
@@ -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 */