From: Tilghman Lesher Date: Sat, 27 Nov 2010 09:58:57 +0000 (+0000) Subject: Also don't build DEBUG_FD_LEAKS when STANDALONE2 is defined. X-Git-Tag: 1.8.2-rc1~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfbc5b89f9ad08f7f3d9f6a6e345973d3d7fea2a;p=thirdparty%2Fasterisk.git Also don't build DEBUG_FD_LEAKS when STANDALONE2 is defined. (closes issue #18385) Reported by: cmaj git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@296429 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk.h b/include/asterisk.h index 465c9c7ad4..6543fd57ba 100644 --- a/include/asterisk.h +++ b/include/asterisk.h @@ -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 #include