unbreak unnecessary dependency on 64-bit atomics

This unbreaks builds on 32-bit arms and mipsen.
This commit is contained in:
Aliaksey Kandratsenka 2023-09-10 21:06:02 -04:00
parent 523b72f754
commit e4e7ba93a0

View File

@ -39,8 +39,8 @@ DEFINE_bool(test_profiler_enabled, true,
// unregister callbacks without deadlocking. Thus this
// "infrastructure" below.
namespace {
std::atomic<uint64_t> allocate_count;
std::atomic<uint64_t> free_count;
std::atomic<intptr_t> allocate_count;
std::atomic<intptr_t> free_count;
// We also "frob" this lock down in BusyThread.
Mutex allocate_lock;