diff --git a/build_tools/cflags.xml b/build_tools/cflags.xml index 7e3e9eeb76..c4d15a67ba 100644 --- a/build_tools/cflags.xml +++ b/build_tools/cflags.xml @@ -24,6 +24,12 @@ extended + + + extended + BFD DLADDR diff --git a/include/asterisk/inline_api.h b/include/asterisk/inline_api.h index 2347d09d7f..5f6911d369 100644 --- a/include/asterisk/inline_api.h +++ b/include/asterisk/inline_api.h @@ -43,7 +43,7 @@ including the header file */ -#if !defined(LOW_MEMORY) +#if !defined(LOW_MEMORY) && !defined(DISABLE_INLINE) #if !defined(AST_API_MODULE) #define AST_INLINE_API(hdr, body) hdr; extern inline hdr body