From 7237d05a6be9697d0d8cc380d932d838c669b52a Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 30 Mar 2006 16:46:36 +0000 Subject: Support for alternate pool backend git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@368 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip-apps/src/samples/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pjsip-apps/src') 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 } -- cgit v1.2.3