[asterisk-commits] tilghman: branch 1.8 r296429 - /branches/1.8/include/asterisk.h

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Nov 27 03:59:00 CST 2010


Author: tilghman
Date: Sat Nov 27 03:58:57 2010
New Revision: 296429

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=296429
Log:
Also don't build DEBUG_FD_LEAKS when STANDALONE2 is defined.

(closes issue #18385)
 Reported by: cmaj

Modified:
    branches/1.8/include/asterisk.h

Modified: branches/1.8/include/asterisk.h
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/include/asterisk.h?view=diff&rev=296429&r1=296428&r2=296429
==============================================================================
--- branches/1.8/include/asterisk.h (original)
+++ branches/1.8/include/asterisk.h Sat Nov 27 03:58:57 2010
@@ -20,7 +20,7 @@
 
 #include "asterisk/autoconfig.h"
 
-#if !defined(NO_MALLOC_DEBUG) && !defined(STANDALONE) && defined(MALLOC_DEBUG)
+#if !defined(NO_MALLOC_DEBUG) && !defined(STANDALONE) && !defined(STANDALONE2) && defined(MALLOC_DEBUG)
 #include "asterisk/astmm.h"
 #endif
 
@@ -43,7 +43,7 @@
 #define	setpriority	__PLEASE_USE_ast_set_priority_INSTEAD_OF_setpriority__
 #define	sched_setscheduler	__PLEASE_USE_ast_set_priority_INSTEAD_OF_sched_setscheduler__
 
-#if defined(DEBUG_FD_LEAKS) && !defined(STANDALONE) && !defined(STANDALONE_AEL)
+#if defined(DEBUG_FD_LEAKS) && !defined(STANDALONE) && !defined(STANDALONE2) && !defined(STANDALONE_AEL)
 /* These includes are all about ordering */
 #include <stdio.h>
 #include <sys/types.h>




More information about the asterisk-commits mailing list