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:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user