From 8315dbfe77cef9f0592eb412b0b122c5a73307a8 Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Sun, 30 Oct 2011 18:46:08 +0000 Subject: use GLIB_CHECK_VERSION instead of a Makefile hack --- src/uzbl-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/uzbl-core.c b/src/uzbl-core.c index f756740..c3bc2dd 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -962,7 +962,7 @@ initialize(int argc, char** argv) { if (uzbl.state.socket_id || uzbl.state.embed) uzbl.state.plug_mode = TRUE; -#ifndef UZBL_GTHREAD_NO_INIT +#if !GLIB_CHECK_VERSION(2, 31, 0) if (!g_thread_supported()) g_thread_init(NULL); #endif -- cgit v1.2.3