X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fglthread%2Fthread.c;h=d6af6f35f4619a1793f0c5b506421dbbe1ae989b;hb=b344de996cd51f8a2f2558a3172016b64d99c622;hp=ba108d0a68e97b111bd3baa7f84b8c7ae4d66ea2;hpb=441aa3044f43e5572f58c354f01e6bc070acd5c7;p=gnulib.git diff --git a/lib/glthread/thread.c b/lib/glthread/thread.c index ba108d0a6..d6af6f35f 100644 --- a/lib/glthread/thread.c +++ b/lib/glthread/thread.c @@ -1,5 +1,5 @@ /* Creating and controlling threads. - Copyright (C) 2005-2008 Free Software Foundation, Inc. + Copyright (C) 2005-2011 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 @@ -29,6 +29,20 @@ /* ========================================================================= */ +#if USE_POSIX_THREADS + +#include + +#ifdef PTW32_VERSION + +const gl_thread_t gl_null_thread /* = { .p = NULL } */; + +#endif + +#endif + +/* ========================================================================= */ + #if USE_WIN32_THREADS #include