diff options
Diffstat (limited to 'camel/tests/folder/test8.c')
-rw-r--r-- | camel/tests/folder/test8.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/camel/tests/folder/test8.c b/camel/tests/folder/test8.c index 54fba4dc83..c035f6227c 100644 --- a/camel/tests/folder/test8.c +++ b/camel/tests/folder/test8.c @@ -1,6 +1,7 @@ /* threaded folder testing */ #include <string.h> +#include <pthread.h> #include "camel-test.h" #include "folders.h" @@ -16,17 +17,6 @@ #define d(x) -#ifndef ENABLE_THREADS -int main(int argc, char **argv) -{ - printf("Test %s is only compiled with threads enabled\n", argv[0]); - return 77; -} -#else - -#include <pthread.h> - - #define ARRAY_LEN(x) (sizeof(x)/sizeof(x[0])) static char *local_providers[] = { @@ -213,5 +203,3 @@ int main(int argc, char **argv) return 0; } - -#endif /* ENABLE_THREADS */ |