summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2007-11-17 09:51:45 +0000
committerLuigi Rizzo <rizzo@icir.org>2007-11-17 09:51:45 +0000
commit6cca49b9d03e12b5870895ffbbb64e218b056d6f (patch)
treec5745ae9e6004387caafed1c9863c86d5dc1542c
parent270b6d978b13c7c3adc67357ced777417c9379e5 (diff)
define RTLD_LOCAL for platforms that don't have it.
This is only to complete the build, clearly the linker behaviour will be completely different and likely to cause trouble in those cases. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r--main/loader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/loader.c b/main/loader.c
index 1ac5f9c56..e492538e0 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -61,6 +61,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#define RTLD_NOW 0
#endif
+#ifndef RTLD_LOCAL
+#define RTLD_LOCAL 0
+#endif
+
struct ast_module_user {
struct ast_channel *chan;
AST_LIST_ENTRY(ast_module_user) entry;