X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-cond.c;h=18cfcfcb27208618232f7757a78c1e491f0aa270;hb=1276a2c5f24c0c932426aca9c899fa524d2443f2;hp=4981708a52cab64de6a2968768d6bb11517bc3f7;hpb=46dab95383d42b0691d41b96cc43c131695308c9;p=gnulib.git diff --git a/tests/test-cond.c b/tests/test-cond.c index 4981708a5..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 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; }