mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-27 17:17:22 -04:00
be consistent in how ISC_PLATFORM_USETHREADS is defined and used
This commit is contained in:
parent
4e3e8cbea0
commit
03a9daede1
2 changed files with 2 additions and 2 deletions
|
|
@ -9283,7 +9283,7 @@ dns_zone_markdirty(dns_zone_t *zone) {
|
|||
if (result != ISC_R_SUCCESS) {
|
||||
UNLOCK_ZONE(zone);
|
||||
secure = NULL;
|
||||
#if ISC_PLATFORM_USETHREADS
|
||||
#ifdef ISC_PLATFORM_USETHREADS
|
||||
isc_thread_yield();
|
||||
#endif
|
||||
goto again;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
***** Platform-dependent defines.
|
||||
*****/
|
||||
|
||||
#define ISC_PLATFORM_USETHREADS
|
||||
#define ISC_PLATFORM_USETHREADS 1
|
||||
|
||||
/***
|
||||
*** Network.
|
||||
|
|
|
|||
Loading…
Reference in a new issue