mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Only include isc/thread.h, isc/mutex.h and isc/condition.h if
ISC_PLATFORM_USETHREADS is defined.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: app.c,v 1.34 2000/12/06 00:30:19 tale Exp $ */
|
||||
/* $Id: app.c,v 1.35 2000/12/26 21:12:24 tale Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@@ -29,9 +29,7 @@
|
||||
|
||||
#include <isc/app.h>
|
||||
#include <isc/boolean.h>
|
||||
#include <isc/condition.h>
|
||||
#include <isc/msgs.h>
|
||||
#include <isc/mutex.h>
|
||||
#include <isc/event.h>
|
||||
#include <isc/platform.h>
|
||||
#include <isc/string.h>
|
||||
@@ -41,6 +39,8 @@
|
||||
|
||||
#ifdef ISC_PLATFORM_USETHREADS
|
||||
#include <pthread.h>
|
||||
#include <isc/condition.h>
|
||||
#include <isc/mutex.h>
|
||||
#else /* ISC_PLATFORM_USETHREADS */
|
||||
#include "../timer_p.h"
|
||||
#include "../task_p.h"
|
||||
|
Reference in New Issue
Block a user