diff options
| author | 2016-12-11 14:44:21 -0500 | |
|---|---|---|
| committer | 2016-12-11 14:44:21 -0500 | |
| commit | 2589c30cbee4e90b717cb8f42e1f25e2eabc119f (patch) | |
| tree | 92f4d13a3c2cca41664f8d4a31c09ad9dd3e80ae /src/common/bit_set.h | |
| parent | Merge pull request #2154 from mailwl/apt-getstartupargument (diff) | |
| parent | gdbstub: Remove unused include (diff) | |
| download | yuzu-2589c30cbee4e90b717cb8f42e1f25e2eabc119f.tar.gz yuzu-2589c30cbee4e90b717cb8f42e1f25e2eabc119f.tar.xz yuzu-2589c30cbee4e90b717cb8f42e1f25e2eabc119f.zip | |
Merge pull request #2267 from JayFoxRox/fix-mingw-cc
Support mingw cross-compilation
Diffstat (limited to 'src/common/bit_set.h')
| -rw-r--r-- | src/common/bit_set.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
| 16 | 16 | ||
| 17 | // Helper functions: | 17 | // Helper functions: |
| 18 | 18 | ||
| 19 | #ifdef _WIN32 | 19 | #ifdef _MSC_VER |
| 20 | template <typename T> | 20 | template <typename T> |
| 21 | static inline int CountSetBits(T v) { | 21 | static inline int CountSetBits(T v) { |
| 22 | // from https://graphics.stanford.edu/~seander/bithacks.html | 22 | // from https://graphics.stanford.edu/~seander/bithacks.html |