diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-17 05:35:48 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-17 05:35:48 +0000 |
commit | 8164b54d1d78cce5b8c1625be66c8e8cfc577a8e (patch) | |
tree | 3b59ce3fd64de3685d1b001394102678b467cd3d /utils/check_expr.c | |
parent | f1ac24791061eb3588aa8d1f93b7b6f41822ecf6 (diff) |
Merged revisions 165071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r165071 | murf | 2008-12-16 22:04:56 -0700 (Tue, 16 Dec 2008) | 31 lines
A possibly "horrible fix" for a "horribly broken"
situation.
As stuff shifts around in the asterisk code, the
miscellaneous inclusions from the standalone stuff
gets broken. There's no easy fix for this situation.
I made sure that everything in utils builds without
problem ***AND*** that aelparse runs the regressions
correctly with the following make menuselect options
both on and off:
DONT_OPTIMIZE
DEBUG_THREADS
DEBUG_CHANNEL_LOCKS
MALLOC_DEBUG
MTX_PROFILE
DEBUG_SCHEDULER
DEBUG_THREADLOCALS
DETECT_DEADLOCKS
CHANNEL_TRACE
I think from now on, I'm going to #undef
all these features in the various utils native
files; I guess I could do the same for the
copied-in files, surrounded by STANDALONE ifdef.
A standalone isn't going to care about threads,
mutexes, etc.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@165074 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils/check_expr.c')
-rw-r--r-- | utils/check_expr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/check_expr.c b/utils/check_expr.c index 7dab4f23a..07f7b7aa7 100644 --- a/utils/check_expr.c +++ b/utils/check_expr.c @@ -85,6 +85,7 @@ enum ast_lock_type { AST_WRLOCK, }; #endif + #if !defined(LOW_MEMORY) void ast_store_lock_info(enum ast_lock_type type, const char *filename, int line_num, const char *func, const char *lock_name, void *lock_addr); |