summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/asterisk/utils.h2
-rw-r--r--main/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index 1a014330e..bbcc2da93 100644
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -525,7 +525,7 @@ long int ast_random(void);
#define ast_free free
#define ast_free_ptr ast_free
-#if !defined(STANDALONE)
+#if defined(AST_IN_CORE)
#define MALLOC_FAILURE_MSG \
ast_log_safe(LOG_ERROR, "Memory Allocation Failure in function %s at line %d of %s\n", func, lineno, file)
#else
diff --git a/main/Makefile b/main/Makefile
index 0a63c01a0..c0c0afff2 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -186,7 +186,7 @@ ifneq ($(findstring ENABLE_UPLOADS,$(MENUSELECT_CFLAGS)),)
GMIMELDFLAGS+=$(GMIME_LIB)
endif
-$(OBJS): _ASTCFLAGS+=-DAST_MODULE=\"core\"
+$(OBJS): _ASTCFLAGS+=-DAST_MODULE=\"core\" -DAST_IN_CORE
libasteriskssl.o: _ASTCFLAGS+=$(OPENSSL_INCLUDE)