From 6515316f8233a5e3db3f5b4f949e63ecfaf24e02 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Fri, 20 Nov 1998 13:49:35 +0000 Subject: [PATCH] added empty default imlementation so gmodule.so compiles on systems that Fri Nov 20 14:43:44 1998 Tim Janik * gmodule.c (_g_module_build_path): added empty default imlementation so gmodule.so compiles on systems that are not yet supported, fix from Erik Bagfors . --- glib.h | 2 +- glib/glib.h | 2 +- gmodule/ChangeLog | 6 ++++++ gmodule/gmodule.c | 6 ++++++ 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/glib.h b/glib.h index 73815de..1b66572 100644 --- a/glib.h +++ b/glib.h @@ -298,7 +298,7 @@ extern "C" { # define G_NATIVE_ATEXIT #endif /* ATEXIT */ -/* Hacker macro to place breakpoints for x86 machines. +/* Hacker macro to place breakpoints for elected machines. * Actual use is strongly deprecated of course ;) */ #if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2 diff --git a/glib/glib.h b/glib/glib.h index 73815de..1b66572 100644 --- a/glib/glib.h +++ b/glib/glib.h @@ -298,7 +298,7 @@ extern "C" { # define G_NATIVE_ATEXIT #endif /* ATEXIT */ -/* Hacker macro to place breakpoints for x86 machines. +/* Hacker macro to place breakpoints for elected machines. * Actual use is strongly deprecated of course ;) */ #if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2 diff --git a/gmodule/ChangeLog b/gmodule/ChangeLog index 24d451d..4de4343 100644 --- a/gmodule/ChangeLog +++ b/gmodule/ChangeLog @@ -1,3 +1,9 @@ +Fri Nov 20 14:43:44 1998 Tim Janik + + * gmodule.c (_g_module_build_path): added empty default imlementation + so gmodule.so compiles on systems that are not yet supported, fix from + Erik Bagfors . + 1998-11-13 Nuno Ferreira * Makefile.am (INCLUDES): The previous commit message is wrong diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c index 0bcc373..9efa3f5 100644 --- a/gmodule/gmodule.c +++ b/gmodule/gmodule.c @@ -137,6 +137,12 @@ _g_module_symbol (gpointer handle, { return NULL; } +static gchar* +_g_module_build_path (const gchar *directory, + const gchar *module_name) +{ + return NULL; +} #endif /* no implementation */ #if defined (NATIVE_WIN32) && defined (__LCC__) -- 2.7.4