2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

[master] fix x64 NOP, silence set but not used warning

This commit is contained in:
Evan Hunt
2016-03-23 11:53:54 -07:00
parent edfb8e5709
commit bca79675ee
2 changed files with 2 additions and 3 deletions

View File

@@ -659,7 +659,7 @@ isc_rwlock_lock(isc_rwlock_t *rwl, isc_rwlocktype_t type) {
rwl->spins += (cnt - rwl->spins) / 8;
return (ISC_R_SUCCESS);
return (result);
}
isc_result_t

View File

@@ -700,8 +700,7 @@ if (($want_win32 eq "yes") && ($want_x64 eq "yes")) {
$configvar{"BUILD_PLATFORM"} = "x64";
$configvar{"MACHINE"} = "/machine:X64";
$configvar{"BUILD_MACHINE"} = "/machine:X64";
# inline assembly not supported in x64 builds
#$configdefp{"ISC_PLATFORM_BUSYWAITNOP"} = "__asm { rep nop }";
$configdefp{"ISC_PLATFORM_BUSYWAITNOP"} = "_mm_pause()";
}
# get the version information