summaryrefslogtreecommitdiff
path: root/main/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/strings.c')
-rw-r--r--main/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/strings.c b/main/strings.c
index b9c88dea5..e62eb9aad 100644
--- a/main/strings.c
+++ b/main/strings.c
@@ -53,7 +53,7 @@ ASTERISK_REGISTER_FILE()
* ast_str_append_va(...)
*/
-#if (defined(MALLOC_DEBUG) && !defined(STANDALONE))
+#ifdef __AST_DEBUG_MALLOC
int __ast_debug_str_helper(struct ast_str **buf, ssize_t max_len,
int append, const char *fmt, va_list ap, const char *file, int lineno, const char *function)
#else
@@ -112,7 +112,7 @@ int __ast_str_helper(struct ast_str **buf, ssize_t max_len,
}
if (
-#if (defined(MALLOC_DEBUG) && !defined(STANDALONE))
+#ifdef __AST_DEBUG_MALLOC
_ast_str_make_space(buf, need, file, lineno, function)
#else
ast_str_make_space(buf, need)