Commit 4b5f48ee authored by peastman's avatar peastman
Browse files

Workaround for compiler bug in Visual Studio

parent 59484a6f
...@@ -31,6 +31,12 @@ ...@@ -31,6 +31,12 @@
using namespace std; using namespace std;
using namespace OpenMM; using namespace OpenMM;
#ifdef _MSC_VER
// Workaround for a compiler bug in Visual Studio 10. Hopefully we can remove this
// once we move to a later version.
#undef __AVX__
#endif
#ifndef __AVX__ #ifndef __AVX__
bool isVec8Supported() { bool isVec8Supported() {
return false; return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment