mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-31 04:43:06 +02:00
Make it compile on AIX. (#141159, Michael Wilson)
Tue May 11 23:23:21 2004 Matthias Clasen <maclas@gmx.de> * gmodule-ar.c (_g_module_open): Make it compile on AIX. (#141159, Michael Wilson)
This commit is contained in:
parent
185c1de577
commit
52e231144f
@ -1,3 +1,8 @@
|
|||||||
|
Tue May 11 23:23:21 2004 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* gmodule-ar.c (_g_module_open): Make it compile on AIX.
|
||||||
|
(#141159, Michael Wilson)
|
||||||
|
|
||||||
2004-03-31 Tor Lillqvist <tml@iki.fi>
|
2004-03-31 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* gmodule-win32.c (_g_module_build_path): On Cygwin, use the "cyg"
|
* gmodule-win32.c (_g_module_build_path): On Cygwin, use the "cyg"
|
||||||
|
@ -97,7 +97,8 @@ exit:
|
|||||||
|
|
||||||
static gpointer
|
static gpointer
|
||||||
_g_module_open (const gchar *file_name,
|
_g_module_open (const gchar *file_name,
|
||||||
gboolean bind_lazy)
|
gboolean bind_lazy,
|
||||||
|
gboolean bind_local)
|
||||||
{
|
{
|
||||||
gpointer handle;
|
gpointer handle;
|
||||||
gchar* member;
|
gchar* member;
|
||||||
@ -114,7 +115,8 @@ _g_module_open (const gchar *file_name,
|
|||||||
else
|
else
|
||||||
full_name = g_strdup (file_name);
|
full_name = g_strdup (file_name);
|
||||||
|
|
||||||
handle = dlopen (full_name, RTLD_GLOBAL | RTLD_MEMBER | (bind_lazy ? RTLD_LAZY : RTLD_NOW));
|
handle = dlopen (full_name,
|
||||||
|
(bind_local ? RTLD_LOCAL : RTLD_GLOBAL) | RTLD_MEMBER | (bind_lazy ? RTLD_LAZY : RTLD_NOW));
|
||||||
|
|
||||||
g_free (full_name);
|
g_free (full_name);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user