Support for alternate pool backend

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@368 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip-apps/src/samples/util.h b/pjsip-apps/src/samples/util.h
index 784ba0f..089b12f 100644
--- a/pjsip-apps/src/samples/util.h
+++ b/pjsip-apps/src/samples/util.h
@@ -134,6 +134,7 @@
 /* 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 @@
     PJ_LOG(3, (app_name, "Total pool memory allocated=%d KB, used=%d KB",
 	       total_alloc / 1000,
 	       total_used / 1000));
+#endif
 }