aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-06-27 22:37:17 +0800
committerPeter Williams <peterw@src.gnome.org>2000-06-27 22:37:17 +0800
commitd3c6e3664db58cb7e101ddb9e0d194b59f982f83 (patch)
treee1eb813d7342f33ee6ed8150a563d951cdb8a805
parent9741ff459294b9ba7be9496e21d9b41cc62e0c96 (diff)
downloadgsoc2013-evolution-d3c6e3664db58cb7e101ddb9e0d194b59f982f83.tar
gsoc2013-evolution-d3c6e3664db58cb7e101ddb9e0d194b59f982f83.tar.gz
gsoc2013-evolution-d3c6e3664db58cb7e101ddb9e0d194b59f982f83.tar.bz2
gsoc2013-evolution-d3c6e3664db58cb7e101ddb9e0d194b59f982f83.tar.lz
gsoc2013-evolution-d3c6e3664db58cb7e101ddb9e0d194b59f982f83.tar.xz
gsoc2013-evolution-d3c6e3664db58cb7e101ddb9e0d194b59f982f83.tar.zst
gsoc2013-evolution-d3c6e3664db58cb7e101ddb9e0d194b59f982f83.zip
Let us compile sans threads on non-pthread systems.
svn path=/trunk/; revision=3752
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-threads.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 7d13e049ea..cb80eeec14 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-06-27 Peter Williams <peterw@curious-george.helixcode.com>
+
+ * mail-threads.c: Don't compile this if we don't have
+ threads enabled. This should maybe be on the Makefile.am
+ level.
+
2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au>
* component-factory.c (owner_set_cb): Put in a gross hack to
diff --git a/mail/mail-threads.c b/mail/mail-threads.c
index c0c16fc7ff..a5dbac2427 100644
--- a/mail/mail-threads.c
+++ b/mail/mail-threads.c
@@ -24,6 +24,8 @@
#include <config.h>
+#ifdef USE_BROKEN_THREADS
+
#include <string.h>
#include <glib.h>
#include "mail.h"
@@ -898,3 +900,5 @@ timeout_toggle( gboolean active )
}
}
}
+
+#endif