Support mingw cross-compile
This commit is contained in:
parent
5234f2d287
commit
45d941d62e
9 changed files with 11 additions and 9 deletions
|
@ -16,7 +16,7 @@ namespace Common {
|
|||
|
||||
// Helper functions:
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifdef _MSC_VER
|
||||
template <typename T>
|
||||
static inline int CountSetBits(T v) {
|
||||
// from https://graphics.stanford.edu/~seander/bithacks.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue