diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-14 20:44:06 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-14 20:44:06 +0000 |
commit | a2ac160535ecf9af28e565aed5c2bd9635844153 (patch) | |
tree | f705e5ad7d95561db8fb658e758957ee3d3fb123 | |
parent | 9e9e263e9974a6e31c059ac58d03cce73d12412d (diff) |
Forgotten to commit libdl.c, change __LIBDL_SHARED__ to SHARED.
-rw-r--r-- | ldso/libdl/libdl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c index 9073b736b..12de25fd0 100644 --- a/ldso/libdl/libdl.c +++ b/ldso/libdl/libdl.c @@ -35,7 +35,7 @@ #include <stdio.h> -#if defined (__LIBDL_SHARED__) +#ifdef SHARED /* When libdl is loaded as a shared library, we need to load in * and use a pile of symbols from ldso... */ @@ -64,7 +64,7 @@ extern char *_dl_debug; #endif -#else /* __LIBDL_SHARED__ */ +#else /* SHARED */ /* When libdl is linked as a static library, we need to replace all * the symbols that otherwise would have been loaded in from ldso... */ @@ -85,7 +85,7 @@ struct r_debug *_dl_debug_addr = NULL; #include "../ldso/dl-hash.c" #define _dl_trace_loaded_objects 0 #include "../ldso/dl-elf.c" -#endif /* __LIBDL_SHARED__ */ +#endif /* SHARED */ #ifdef __SUPPORT_LD_DEBUG__ # define _dl_if_debug_print(fmt, args...) \ @@ -358,7 +358,7 @@ void *dlopen(const char *libname, int flag) } } -#if defined (__LIBDL_SHARED__) +#ifdef SHARED /* Run the ctors and setup the dtors */ for (i = nlist; i; --i) { tpnt = init_fini_list[i-1]; |