mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 22:44:34 +00:00
There's no __popcnt64 in 32 bit winapi.
This commit is contained in:
parent
b3812146cb
commit
145ca30df9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user