mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-03 04:09:20 +02:00
check for systems with broken RTLD_GLOBAL.
Sat Feb 17 07:33:44 2001 Tim Janik <timj@gtk.org> * configure.in (G_MODULE_BROKEN_RTLD_GLOBAL): check for systems with broken RTLD_GLOBAL. Sat Feb 17 07:33:21 2001 Tim Janik <timj@gtk.org> * gmodule-dl.c: fix systems with broken RTLD_GLOBAL.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
Sat Feb 17 07:33:21 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gmodule-dl.c: fix systems with broken RTLD_GLOBAL.
|
||||
|
||||
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* gmodule.h: include glib.h before doing extern "C". Makes some
|
||||
|
@@ -58,15 +58,19 @@
|
||||
* RTLD_GLOBAL - the external symbols defined in the library will be made
|
||||
* available to subsequently loaded libraries.
|
||||
*/
|
||||
#ifndef RTLD_GLOBAL
|
||||
#define RTLD_GLOBAL 0
|
||||
#endif /* RTLD_GLOBAL */
|
||||
#ifndef RTLD_LAZY
|
||||
#define RTLD_LAZY 1
|
||||
#endif /* RTLD_LAZY */
|
||||
#ifndef RTLD_NOW
|
||||
#define RTLD_NOW 0
|
||||
#endif /* RTLD_NOW */
|
||||
/* some systems (OSF1 V5.0) have broken RTLD_GLOBAL linkage */
|
||||
#ifdef G_MODULE_BROKEN_RTLD_GLOBAL
|
||||
#undef RTLD_GLOBAL
|
||||
#endif /* G_MODULE_BROKEN_RTLD_GLOBAL */
|
||||
#ifndef RTLD_GLOBAL
|
||||
#define RTLD_GLOBAL 0
|
||||
#endif /* RTLD_GLOBAL */
|
||||
|
||||
|
||||
/* --- functions --- */
|
||||
|
@@ -38,6 +38,9 @@ extern "C" {
|
||||
#if (@G_MODULE_NEED_USCORE@) || defined (hp9000s300) || defined (__hp9000s300) || defined (__hp9000s300__)
|
||||
#define G_MODULE_NEED_USCORE
|
||||
#endif
|
||||
#if (@G_MODULE_BROKEN_RTLD_GLOBAL@)
|
||||
#define G_MODULE_BROKEN_RTLD_GLOBAL
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
Reference in New Issue
Block a user