aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-11-27 09:58:57 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-11-27 09:58:57 +0000
commit451e4c7812d0aafa7c8182113dedc8a4f187a1ae (patch)
tree8b08f13e3362f015a0d67af75abf6c8392afe21d /include
parent7de196f4d7d3f311080c2462b7871e5d7e1b5bfa (diff)
Also don't build DEBUG_FD_LEAKS when STANDALONE2 is defined.
(closes issue #18385) Reported by: cmaj git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@296429 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r--include/asterisk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index 465c9c7ad..6543fd57b 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 <stdio.h>
#include <sys/types.h>