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
97f5e611
Commit
97f5e611
authored
Sep 23, 2015
by
Peter Eastman
Browse files
Fixed compilation error on Windows
parent
11d2d8ae
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
0 deletions
+12
-0
platforms/cpu/tests/CpuTests.h
platforms/cpu/tests/CpuTests.h
+3
-0
platforms/cuda/tests/CudaTests.h
platforms/cuda/tests/CudaTests.h
+3
-0
platforms/opencl/tests/OpenCLTests.h
platforms/opencl/tests/OpenCLTests.h
+3
-0
platforms/reference/tests/ReferenceTests.h
platforms/reference/tests/ReferenceTests.h
+3
-0
No files found.
platforms/cpu/tests/CpuTests.h
View file @
97f5e611
...
@@ -29,6 +29,9 @@
...
@@ -29,6 +29,9 @@
* 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 "CpuPlatform.h"
#include "CpuPlatform.h"
#include <cstdlib>
#include <cstdlib>
#include <iostream>
#include <iostream>
...
...
platforms/cuda/tests/CudaTests.h
View file @
97f5e611
...
@@ -29,6 +29,9 @@
...
@@ -29,6 +29,9 @@
* 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 "CudaPlatform.h"
#include "CudaPlatform.h"
#include <string>
#include <string>
...
...
platforms/opencl/tests/OpenCLTests.h
View file @
97f5e611
...
@@ -29,6 +29,9 @@
...
@@ -29,6 +29,9 @@
* 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 "OpenCLPlatform.h"
#include "OpenCLPlatform.h"
#include <string>
#include <string>
...
...
platforms/reference/tests/ReferenceTests.h
View file @
97f5e611
...
@@ -29,6 +29,9 @@
...
@@ -29,6 +29,9 @@
* 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 "ReferencePlatform.h"
#include "ReferencePlatform.h"
OpenMM
::
ReferencePlatform
platform
;
OpenMM
::
ReferencePlatform
platform
;
...
...
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