From: David M. Lee Date: Tue, 10 Sep 2013 17:48:52 +0000 (+0000) Subject: Fixed utils directory breakage from r398748, this time with extra hate. X-Git-Tag: 11.6.0-rc1~3^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72a07f96464395271f95a5e34d861ff953ab9826;p=thirdparty%2Fasterisk.git Fixed utils directory breakage from r398748, this time with extra hate. ........ Merged revisions 398752 from http://svn.asterisk.org/svn/asterisk/branches/1.8 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@398753 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/utils/check_expr.c b/utils/check_expr.c index 9689ab1cf9..3c1afde290 100644 --- a/utils/check_expr.c +++ b/utils/check_expr.c @@ -55,6 +55,7 @@ void * attribute_malloc _ast_calloc(size_t num, size_t len, const char *file, in } #endif +#ifdef DEBUG_THREADS #if !defined(LOW_MEMORY) #ifdef HAVE_BKTR void ast_store_lock_info(enum ast_lock_type type, const char *filename, @@ -117,6 +118,7 @@ void ast_mark_lock_acquired(void *foo) /* not a lot to do in a standalone w/o threading! */ } #endif +#endif /* DEBUG_THREADS */ static int global_lineno = 1;