From 0b870ec357a266b5e7faa9a96310dd89503660f9 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Thu, 20 Aug 1998 05:10:27 +0000 Subject: [PATCH] provide no operation implementation for the underlying _g_module_* Thu Aug 20 07:08:16 1998 Tim Janik * 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 | 6 ++++++ gmodule/gmodule.c | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index 6bea38cd..2cc6751e 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,9 @@ +Thu Aug 20 07:08:16 1998 Tim Janik + + * 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 * gmodule.h: diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 7bf28c16..6ab51086 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 */ -- 2.34.1