From 145ca30df96c61a69834a0b5de8daab016739ae0 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 28 May 2019 18:18:54 +0200 Subject: [PATCH] There's no __popcnt64 in 32 bit winapi. --- server/TracyPopcnt.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/TracyPopcnt.hpp b/server/TracyPopcnt.hpp index ec8dd197..11d4c715 100644 --- a/server/TracyPopcnt.hpp +++ b/server/TracyPopcnt.hpp @@ -1,7 +1,9 @@ #ifndef __TRACYPOPCNT_HPP__ #define __TRACYPOPCNT_HPP__ -#ifdef _WIN32 +#include + +#if defined _WIN64 || ( defined __CYGWIN__ && __WORDSIZE == 64 ) # include # define TracyCountBits __popcnt64 #else