X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=fbgfx;a=blobdiff_plain;f=src%2Ftpool.c;h=4d06570fbb059320439486e95180fe87e4a95b8b;hp=9e73f44c790e4ba3dd48f7f9a8f828b651a2b048;hb=HEAD;hpb=a97b562de19ac575deddf937b7eba5d6163f7b0e diff --git a/src/tpool.c b/src/tpool.c index 9e73f44..4d06570 100644 --- a/src/tpool.c +++ b/src/tpool.c @@ -1,3 +1,4 @@ +#ifndef NO_THREADS /* worker thread pool based on POSIX threads * author: John Tsiombikas * This code is public domain. @@ -311,3 +312,5 @@ int tpool_num_processors(void) return info.dwNumberOfProcessors; #endif } + +#endif /* !def NO_THREADS */