There's no __popcnt64 in 32 bit winapi.

This commit is contained in:
Bartosz Taudul 2019-05-28 18:18:54 +02:00
parent b3812146cb
commit 145ca30df9

View File

@ -1,7 +1,9 @@
#ifndef __TRACYPOPCNT_HPP__
#define __TRACYPOPCNT_HPP__
#ifdef _WIN32
#include <limits.h>
#if defined _WIN64 || ( defined __CYGWIN__ && __WORDSIZE == 64 )
# include <intrin.h>
# define TracyCountBits __popcnt64
#else