Moved defines to after the include of switch.h so when precompiled headers are used they actually work.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12319 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2717c1e034
commit
9247784038
|
@ -31,16 +31,16 @@
|
||||||
* switch_core_memory.c -- Main Core Library (memory management)
|
* switch_core_memory.c -- Main Core Library (memory management)
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
//#define DEBUG_ALLOC
|
|
||||||
//#define DEBUG_ALLOC2
|
|
||||||
//#define DESTROY_POOLS
|
|
||||||
#define PER_POOL_LOCK
|
|
||||||
//#define INSTANTLY_DESTROY_POOLS
|
|
||||||
|
|
||||||
#include <switch.h>
|
#include <switch.h>
|
||||||
#include "private/switch_core_pvt.h"
|
#include "private/switch_core_pvt.h"
|
||||||
|
|
||||||
|
//#define DEBUG_ALLOC
|
||||||
|
//#define DEBUG_ALLOC2
|
||||||
|
//#define DESTROY_POOLS
|
||||||
|
//#define INSTANTLY_DESTROY_POOLS
|
||||||
/*#define LOCK_MORE*/
|
/*#define LOCK_MORE*/
|
||||||
/*#define PER_POOL_LOCK 1*/
|
#define PER_POOL_LOCK 1
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
switch_mutex_t *mem_lock;
|
switch_mutex_t *mem_lock;
|
||||||
|
|
Loading…
Reference in New Issue