From 4c72e54303f41151d73fd0d9a5897ca7717d0469 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Wed, 2 Jan 2008 07:56:38 +0000 Subject: Added PJ_OS_HAS_CHECK_STACK default configuration in pjlib/config.h, at least to document it in doxygen git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1649 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'pjlib/include') diff --git a/pjlib/include/pj/config.h b/pjlib/include/pj/config.h index 23becd7c..4a063bed 100644 --- a/pjlib/include/pj/config.h +++ b/pjlib/include/pj/config.h @@ -427,6 +427,17 @@ #endif +/** + * Specify if PJ_CHECK_STACK() macro is enabled to check the sanity of + * the stack. The OS implementation may check that no stack overflow + * occurs, and it also may collect statistic about stack usage. Note + * that this will increase the footprint of the libraries since it + * tracks the filename and line number of each functions. + */ +#ifndef PJ_OS_HAS_CHECK_STACK +# define PJ_OS_HAS_CHECK_STACK 0 +#endif + /** * Do we have alternate pool implementation? * -- cgit v1.2.3