aboutsummaryrefslogtreecommitdiff
path: root/src/common/bit_set.h
diff options
context:
space:
mode:
authorJannik Vogel <email@jannikvogel.de>2016-12-03 21:08:02 +0100
committerJannik Vogel <email@jannikvogel.de>2016-12-05 19:09:16 +0100
commit45d941d62e2accea92f5b5183afe760e69a618ac (patch)
tree123b8c13185b472a1fa413c3b8caf42980106207 /src/common/bit_set.h
parent5234f2d287e93509a84a064a4655281cdb528d88 (diff)
Support mingw cross-compile
Diffstat (limited to 'src/common/bit_set.h')
-rw-r--r--src/common/bit_set.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/bit_set.h b/src/common/bit_set.h
index c48b3b769c..3059d0cb0d 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 <typename T>
static inline int CountSetBits(T v) {
// from https://graphics.stanford.edu/~seander/bithacks.html