diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-07-10 03:34:15 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-07-10 03:34:15 +0800 |
commit | bf814df02fdf0105725f54cfb54d8bff27b0893f (patch) | |
tree | 68a37488f356a27c28a2880d9abc1a5aab9fc798 /camel/tests | |
parent | db1672cb6965cdb4ad7dd12844b194025f550349 (diff) | |
download | gsoc2013-evolution-bf814df02fdf0105725f54cfb54d8bff27b0893f.tar gsoc2013-evolution-bf814df02fdf0105725f54cfb54d8bff27b0893f.tar.gz gsoc2013-evolution-bf814df02fdf0105725f54cfb54d8bff27b0893f.tar.bz2 gsoc2013-evolution-bf814df02fdf0105725f54cfb54d8bff27b0893f.tar.lz gsoc2013-evolution-bf814df02fdf0105725f54cfb54d8bff27b0893f.tar.xz gsoc2013-evolution-bf814df02fdf0105725f54cfb54d8bff27b0893f.tar.zst gsoc2013-evolution-bf814df02fdf0105725f54cfb54d8bff27b0893f.zip |
removed #ifndef ENABLE_THREADS
svn path=/trunk/; revision=21780
Diffstat (limited to 'camel/tests')
-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 */ |