X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-cond.c;h=18cfcfcb27208618232f7757a78c1e491f0aa270;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=a20276ad111aae13cfec9eda99f338f998a88628;hpb=3030c5b5e0a5199e16b05927da72c43c42f211c3;p=gnulib.git diff --git a/tests/test-cond.c b/tests/test-cond.c index a20276ad1..18cfcfcb2 100644 --- a/tests/test-cond.c +++ b/tests/test-cond.c @@ -1,5 +1,5 @@ /* Test of condition variables in multithreaded situations. - Copyright (C) 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 2008-2014 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ #include -#if USE_POSIX_THREADS || USE_SOLARIS_THREADS || USE_PTH_THREADS || USE_WIN32_THREADS +#if USE_POSIX_THREADS || USE_SOLARIS_THREADS || USE_PTH_THREADS || USE_WINDOWS_THREADS /* Which tests to perform. Uncomment some of these, to verify that all tests crash if no locking @@ -198,9 +198,12 @@ main () /* No multithreading available. */ +#include + int main () { + fputs ("Skipping test: multithreading not enabled\n", stderr); return 77; }