[Freeswitch-svn] [commit] r12319 - freeswitch/trunk/src

FreeSWITCH SVN robertj at freeswitch.org
Thu Feb 26 23:34:58 PST 2009


Author: robertj
Date: Fri Feb 27 01:34:58 2009
New Revision: 12319

Log:
Moved defines to after the include of switch.h so when precompiled headers are used they actually work.

Modified:
   freeswitch/trunk/src/switch_core_memory.c

Modified: freeswitch/trunk/src/switch_core_memory.c
==============================================================================
--- freeswitch/trunk/src/switch_core_memory.c	(original)
+++ freeswitch/trunk/src/switch_core_memory.c	Fri Feb 27 01:34:58 2009
@@ -31,16 +31,16 @@
  * 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;



More information about the Freeswitch-svn mailing list