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

Fixed compilation error on Windows

parent ada8f2ee
...@@ -33,6 +33,9 @@ ...@@ -33,6 +33,9 @@
* This tests the CUDA implementation of CudaAmoebaAngleForce. * This tests the CUDA implementation of CudaAmoebaAngleForce.
*/ */
#ifdef WIN32
#define _USE_MATH_DEFINES // Needed to get M_PI
#endif
#include "openmm/internal/AssertionUtilities.h" #include "openmm/internal/AssertionUtilities.h"
#include "openmm/Context.h" #include "openmm/Context.h"
#include "openmm/CustomAngleForce.h" #include "openmm/CustomAngleForce.h"
......
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