]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix statistics for x86 Windows builds
authorMichał Kępień <michal@isc.org>
Fri, 7 Jun 2019 13:21:43 +0000 (15:21 +0200)
committerOndřej Surý <ondrej@sury.org>
Thu, 20 Jun 2019 15:49:25 +0000 (17:49 +0200)
commite21103f2d37d339886b09387b08239c838d50ef1
treeac33211eace675b9aaa49e1f042836d964913ace
parent9e499ddbf63e785c3c8e6c5e7369761228f90ad4
Fix statistics for x86 Windows builds

Using atomic_int_fast64_t variables with atomic functions on x86 does
not cause Visual Studio to report build errors, but such operations
yield useless results.  Since the isc_stat_t type is unconditionally
typedef'd to atomic_int_fast64_t, any code performing atomic operations
on isc_stat_t variables is broken in x86 Windows builds.  Fix by using
the atomic_int_fast32_t type for isc_stat_t in x86 Windows builds.
doc/arm/Bv9ARM-book.xml
lib/isc/stats.c