Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
1d8517a1
Commit
1d8517a1
authored
Apr 30, 2010
by
Peter Eastman
Browse files
Fixed compilation error under Windows
parent
31ed4381
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
platforms/opencl/src/OpenCLContext.cpp
platforms/opencl/src/OpenCLContext.cpp
+4
-1
No files found.
platforms/opencl/src/OpenCLContext.cpp
View file @
1d8517a1
...
@@ -24,6 +24,10 @@
...
@@ -24,6 +24,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#ifdef WIN32
#define _USE_MATH_DEFINES // Needed to get M_PI
#endif
#include <cmath>
#include "OpenCLContext.h"
#include "OpenCLContext.h"
#include "OpenCLArray.h"
#include "OpenCLArray.h"
#include "OpenCLForceInfo.h"
#include "OpenCLForceInfo.h"
...
@@ -34,7 +38,6 @@
...
@@ -34,7 +38,6 @@
#include "openmm/Platform.h"
#include "openmm/Platform.h"
#include "openmm/System.h"
#include "openmm/System.h"
#include <algorithm>
#include <algorithm>
#include <cmath>
#include <fstream>
#include <fstream>
#include <iostream>
#include <iostream>
#include <sstream>
#include <sstream>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment