Bundled pjproject: Enable pj_assert when dev-mode is enabled.
[asterisk/asterisk.git] / third-party / pjproject / patches / config_site.h
index 561b3a2..a11bc06 100644 (file)
 #define PJMEDIA_HAS_WEBRTC_AEC 0
 
 #define PJ_HAS_IPV6 1
+#if !defined(AST_DEVMODE) && !defined(PJPROJECT_BUNDLED_ASSERTIONS)
 #define NDEBUG 1
+#endif
+
 #define PJ_MAX_HOSTNAME (256)
 #define PJSIP_MAX_URL_SIZE (512)
 #ifdef PJ_HAS_LINUX_EPOLL