Commit e6741413 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed compilation error on Windows

parent 16e2b1e3
...@@ -29,11 +29,14 @@ ...@@ -29,11 +29,14 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. * * USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */
#ifdef WIN32
#define _USE_MATH_DEFINES // Needed to get M_PI
#endif
#include "openmm/internal/ContextImpl.h" #include "openmm/internal/ContextImpl.h"
#include "openmm/internal/AmoebaVdwForceImpl.h" #include "openmm/internal/AmoebaVdwForceImpl.h"
#include "openmm/amoebaKernels.h" #include "openmm/amoebaKernels.h"
#include <map> #include <map>
#include <stdio.h> #include <cmath>
using namespace OpenMM; using namespace OpenMM;
using namespace std; using namespace std;
......
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