Add development flag to disable the inline API.
[asterisk/asterisk.git] / include / asterisk / inline_api.h
index 2347d09..5f6911d 100644 (file)
@@ -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