Include config.h so DISABLE_MEMPOOLS actually has an effect. (#96437,

Mon Nov  4 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>

        * glib/gbsearcharray.c: Include config.h
        so DISABLE_MEMPOOLS actually has an effect.
        (#96437, Morten Welinder)

        * tests/uri-test.c: Include <config.h>

Mon Nov  4 14:42:36 2002  Owen Taylor  <otaylor@redhat.com>

        * gtype.c gsignal.c gvaluearray.c: Include config.h
        so DISABLE_MEMPOOLS actually has an effect.
        (#96437, Morten Welinder)

        * gsignal.c: Conditionalize definition of g_handler_ts
        on DISABLE_MEM_POOLS (#96437)

Mon Nov  4 14:45:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gthread-posix.c gthread-solaris.c: Include <config.h>
This commit is contained in:
Owen Taylor
2002-11-04 20:10:34 +00:00
committed by Owen Taylor
parent 289b42f231
commit d089e382c3
16 changed files with 85 additions and 0 deletions

View File

@@ -24,6 +24,8 @@
* MT safe
*/
#include <config.h>
#include "gsignal.h"
#include "gbsearcharray.h"
#include "gvaluecollector.h"
@@ -248,7 +250,9 @@ static GBSearchConfig g_class_closure_bconfig = G_STATIC_BCONFIG (sizeof (ClassC
static GHashTable *g_handler_list_bsa_ht = NULL;
static Emission *g_recursive_emissions = NULL;
static Emission *g_restart_emissions = NULL;
#ifndef DISABLE_MEM_POOLS
static GTrashStack *g_handler_ts = NULL;
#endif
static gulong g_handler_sequential_number = 1;
G_LOCK_DEFINE_STATIC (g_signal_mutex);
#define SIGNAL_LOCK() G_LOCK (g_signal_mutex)