mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-04 21:54:27 +08:00
builds and passes tests on windows
This commit is contained in:
@@ -777,7 +777,8 @@ template void UpdateBitVectFromBinaryText(ExplicitBitVect&, const std::string&);
|
||||
|
||||
// from here:
|
||||
// http://stackoverflow.com/questions/3849337/msvc-equivalent-to-builtin-popcount
|
||||
#ifdef __MSC_VER
|
||||
// but corrected to get the ifdef right
|
||||
#ifdef _MSC_VER
|
||||
#include <intrin.h>
|
||||
#define __builtin_popcount __popcnt
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user