diff options
author | Benny Prijono <bennylp@teluu.com> | 2008-01-02 07:56:38 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2008-01-02 07:56:38 +0000 |
commit | 4c72e54303f41151d73fd0d9a5897ca7717d0469 (patch) | |
tree | be7a5bb10c308d9ee874b2afba299d144a1545f5 /pjlib | |
parent | 6b1f00599e829d6e85574403425bb67468b673a3 (diff) |
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
Diffstat (limited to 'pjlib')
-rw-r--r-- | pjlib/include/pj/config.h | 11 |
1 files changed, 11 insertions, 0 deletions
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 @@ -428,6 +428,17 @@ /** + * 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? * * Default: 0 |