2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 08:05:21 +00:00

be consistent in how ISC_PLATFORM_USETHREADS is defined and used

This commit is contained in:
Mark Andrews
2013-10-08 16:47:57 +11:00
parent 4e3e8cbea0
commit 03a9daede1
2 changed files with 2 additions and 2 deletions

View File

@@ -9283,7 +9283,7 @@ dns_zone_markdirty(dns_zone_t *zone) {
if (result != ISC_R_SUCCESS) { if (result != ISC_R_SUCCESS) {
UNLOCK_ZONE(zone); UNLOCK_ZONE(zone);
secure = NULL; secure = NULL;
#if ISC_PLATFORM_USETHREADS #ifdef ISC_PLATFORM_USETHREADS
isc_thread_yield(); isc_thread_yield();
#endif #endif
goto again; goto again;

View File

@@ -24,7 +24,7 @@
***** Platform-dependent defines. ***** Platform-dependent defines.
*****/ *****/
#define ISC_PLATFORM_USETHREADS #define ISC_PLATFORM_USETHREADS 1
/*** /***
*** Network. *** Network.