windows threads. detect gdi32. nicer DISABLED_THREADS define. Compiles on mingw32.

git-svn-id: file:///svn/unbound/trunk@1122 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards
2008-06-16 13:39:46 +00:00
parent 76ee7a352a
commit f90f5a2583
10 changed files with 217 additions and 33 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ checkerr(const char* desc, int err)
}
}
#if !defined(HAVE_PTHREAD) && !defined(HAVE_SOLARIS_THREADS)
#ifdef THREADS_DISABLED
/** only one process can communicate with async worker */
#define NUMTHR 1
#else /* have threads */