From 3dc77052b55a3061073dcf0bee70b0926bab7b79 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Tue, 27 Jun 2000 15:49:17 +0000 Subject: Fix the test-threads when no threading svn path=/trunk/; revision=3756 --- mail/test-thread.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mail/test-thread.c') diff --git a/mail/test-thread.c b/mail/test-thread.c index 9c62e7f78c..b9fb5bb0b2 100644 --- a/mail/test-thread.c +++ b/mail/test-thread.c @@ -8,6 +8,8 @@ #include #include "mail-threads.h" +#ifdef ENABLE_BROKEN_THREADS + static void op_1( gpointer userdata ); static void op_2( gpointer userdata ); static void op_3( gpointer userdata ); @@ -139,3 +141,13 @@ int main( int argc, char **argv ) gtk_main(); return 0; } + +#else + +int main( int argc, char **argv ) +{ + g_message( "Threads aren't enabled, so they cannot be tested." ); + return 0; +} + +#endif -- cgit v1.2.3