diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-30 16:46:36 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-30 16:46:36 +0000 |
commit | 7237d05a6be9697d0d8cc380d932d838c669b52a (patch) | |
tree | 266d985edb1b101e109a6da54d3ae05cc5501abc /pjsip-apps | |
parent | 1ab7cc3a1064ab070ba4c68be45025469e8ce0e4 (diff) |
Support for alternate pool backend
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@368 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip-apps')
-rw-r--r-- | pjsip-apps/src/samples/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pjsip-apps/src/samples/util.h b/pjsip-apps/src/samples/util.h index 784ba0f9..089b12fe 100644 --- a/pjsip-apps/src/samples/util.h +++ b/pjsip-apps/src/samples/util.h @@ -134,6 +134,7 @@ static pj_status_t get_snd_options( const char *app_name, /* Dump memory pool usage. */ static void dump_pool_usage( const char *app_name, pj_caching_pool *cp ) { +#if !defined(PJ_HAS_POOL_ALT_API) || PJ_HAS_POOL_ALT_API==0 pj_pool_t *p; unsigned total_alloc = 0; unsigned total_used = 0; @@ -149,4 +150,5 @@ static void dump_pool_usage( const char *app_name, pj_caching_pool *cp ) PJ_LOG(3, (app_name, "Total pool memory allocated=%d KB, used=%d KB", total_alloc / 1000, total_used / 1000)); +#endif } |