Support mingw cross-compile

This commit is contained in:
Jannik Vogel 2016-12-03 21:08:02 +01:00
parent 5234f2d287
commit 45d941d62e
9 changed files with 11 additions and 9 deletions

View file

@ -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