mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 14:49:20 -04:00
Rename yield() to the test_server_yield()
This commit ensures that the test_server binary will build on Solaris, which has yield() definition within 'unistd.h'.
This commit is contained in:
parent
51edc7f5c0
commit
6b56dc56c8
1 changed files with 2 additions and 2 deletions
|
|
@ -202,7 +202,7 @@ teardown(void) {
|
|||
}
|
||||
|
||||
static void
|
||||
yield(void) {
|
||||
test_server_yield(void) {
|
||||
sigset_t sset;
|
||||
int sig;
|
||||
|
||||
|
|
@ -307,7 +307,7 @@ run(void) {
|
|||
}
|
||||
REQUIRE(result == ISC_R_SUCCESS);
|
||||
|
||||
yield();
|
||||
test_server_yield();
|
||||
|
||||
isc_nm_stoplistening(sock);
|
||||
isc_nmsocket_close(&sock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue