aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel.c')
-rw-r--r--camel/camel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/camel/camel.c b/camel/camel.c
index 2bb3dc163f..febdb2d2bb 100644
--- a/camel/camel.c
+++ b/camel/camel.c
@@ -29,11 +29,15 @@
gint
camel_init()
{
+
+
+#ifdef ENABLE_THREADS
#ifdef G_THREADS_ENABLED
g_thread_init (NULL);
#else /* G_THREADS_ENABLED */
printf ("Threads are not supported by your version of glib\n");
#endif /* G_THREADS_ENABLED */
+#endif /* ENABLE_THREADS */
return data_wrapper_repository_init ();
}