mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 23:25:38 +00:00
be consistent in how ISC_PLATFORM_USETHREADS is defined and used
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user