diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/tests/folder/test10.c | 14 | ||||
-rw-r--r-- | camel/tests/folder/test8.c | 14 |
2 files changed, 2 insertions, 26 deletions
diff --git a/camel/tests/folder/test10.c b/camel/tests/folder/test10.c index 6ae9d9856d..f96c885ef0 100644 --- a/camel/tests/folder/test10.c +++ b/camel/tests/folder/test10.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[] = { @@ -111,5 +101,3 @@ int main(int argc, char **argv) return 0; } - -#endif /* ENABLE_THREADS */ 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 */ |