From: Robert Joly Date: Fri, 27 Feb 2009 07:34:58 +0000 (+0000) Subject: Moved defines to after the include of switch.h so when precompiled headers are used... X-Git-Tag: v1.0.4~1787 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92477840386540d073e89d4e151972d019f1182e;p=thirdparty%2Ffreeswitch.git 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 --- diff --git a/src/switch_core_memory.c b/src/switch_core_memory.c index 733483b510..79ea85b15e 100644 --- a/src/switch_core_memory.c +++ b/src/switch_core_memory.c @@ -31,16 +31,16 @@ * switch_core_memory.c -- Main Core Library (memory management) * */ + +#include +#include "private/switch_core_pvt.h" + //#define DEBUG_ALLOC //#define DEBUG_ALLOC2 //#define DESTROY_POOLS -#define PER_POOL_LOCK //#define INSTANTLY_DESTROY_POOLS - -#include -#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;