--- deliantra/server/include/util.h 2008/03/24 20:39:34 1.64 +++ deliantra/server/include/util.h 2008/04/01 19:50:38 1.65 @@ -22,8 +22,8 @@ #ifndef UTIL_H__ #define UTIL_H__ -//#define PREFER_MALLOC -#define DEBUG_SALLOC +#define DEBUG_SALLOC 0 +#define PREFER_MALLOC 0 #if __GNUC__ >= 3 # define is_constant(c) __builtin_constant_p (c) @@ -55,7 +55,7 @@ #include #include -#ifdef DEBUG_SALLOC +#if DEBUG_SALLOC # define g_slice_alloc0(s) debug_slice_alloc0(s) # define g_slice_alloc(s) debug_slice_alloc(s) # define g_slice_free1(s,p) debug_slice_free1(s,p) @@ -243,7 +243,7 @@ template inline void sfree (T *ptr, int n = 1) throw () { -#ifdef PREFER_MALLOC +#if PREFER_MALLOC free (ptr); #else slice_alloc -= n * sizeof (T);