From 45d941d62e2accea92f5b5183afe760e69a618ac Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Sat, 3 Dec 2016 21:08:02 +0100 Subject: Support mingw cross-compile --- src/common/bit_set.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/bit_set.h') diff --git a/src/common/bit_set.h b/src/common/bit_set.h index c48b3b769..3059d0cb0 100644 --- a/src/common/bit_set.h +++ b/src/common/bit_set.h @@ -16,7 +16,7 @@ namespace Common { // Helper functions: -#ifdef _WIN32 +#ifdef _MSC_VER template static inline int CountSetBits(T v) { // from https://graphics.stanford.edu/~seander/bithacks.html -- cgit v1.2.3