blob: 6c6437a915f8da85c9d5f274ec34c499c208f603 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#Index: ChangeLog
#===================================================================
#--- ChangeLog (revision 4594)
#+++ ChangeLog (revision 4595)
#@@ -1,3 +1,7 @@
#+2012-03-11 Jean-Louis Martineau <martineau@zmanda.com>
#+ * common-src/glib-util.c: g_thread_supported always return TRUE on
#+ newer version.
#+
# 2012-03-10 Jean-Louis Martineau <martineau@zmanda.com>
# * common-src/glib-util.c, common-src/glib-util.h: Remove
# g_queue_free_full.
Index: common-src/glib-util.c
===================================================================
--- common-src/glib-util.c (revision 4594)
+++ common-src/glib-util.c (revision 4595)
@@ -42,7 +42,9 @@
* is initialized) */
#ifdef HAVE_LIBCURL
# ifdef G_THREADS_ENABLED
+# if (GLIB_MAJOR_VERSION < 2 || (GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 31))
g_assert(!g_thread_supported()); /* assert threads aren't initialized yet */
+# endif
# endif
g_assert(curl_global_init(CURL_GLOBAL_ALL) == 0);
#endif
|