diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 09:51:45 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 09:51:45 +0000 |
commit | 4dfe6b53273ee200c8df0e2d4a16c73576d4c05d (patch) | |
tree | c5745ae9e6004387caafed1c9863c86d5dc1542c | |
parent | 46c59c7908d32ee27d98d0408cb9419f6312f7f7 (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: http://svn.digium.com/svn/asterisk/trunk@89367 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/loader.c | 4 |
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; |