aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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