]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Moved defines to after the include of switch.h so when precompiled headers are used...
authorRobert Joly <rjoly@nortel.com>
Fri, 27 Feb 2009 07:34:58 +0000 (07:34 +0000)
committerRobert Joly <rjoly@nortel.com>
Fri, 27 Feb 2009 07:34:58 +0000 (07:34 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12319 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_core_memory.c

index 733483b51008518d99e29ffd59cf76b9910f250a..79ea85b15e703a04d63fe211f38d059bfabc0dcf 100644 (file)
  * switch_core_memory.c -- Main Core Library (memory management)
  *
  */
+
+#include <switch.h>
+#include "private/switch_core_pvt.h"
+
 //#define DEBUG_ALLOC
 //#define DEBUG_ALLOC2
 //#define DESTROY_POOLS
-#define PER_POOL_LOCK
 //#define INSTANTLY_DESTROY_POOLS
-
-#include <switch.h>
-#include "private/switch_core_pvt.h"
 /*#define LOCK_MORE*/
-/*#define PER_POOL_LOCK 1*/
+#define PER_POOL_LOCK 1
 
 static struct {
        switch_mutex_t *mem_lock;