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
d137b536
Commit
d137b536
authored
Nov 11, 2015
by
peastman
Browse files
Merge pull request #1256 from rmcgibbo/vs2015
Changes necessary for VS2015
parents
6ba00588
eaff4bab
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
CMakeLists.txt
CMakeLists.txt
+5
-0
libraries/pthreads/include/pthread.h
libraries/pthreads/include/pthread.h
+4
-0
No files found.
CMakeLists.txt
View file @
d137b536
...
...
@@ -65,6 +65,11 @@ ELSE(WIN32)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
WIN32
)
IF
(
WIN32
)
ADD_DEFINITIONS
(
-DWIN32
)
ENDIF
(
WIN32
)
# Include CPU-Features for Android
IF
(
ANDROID
)
INCLUDE_DIRECTORIES
(
${
ANDROID_NDK
}
/sources/cpufeatures
)
...
...
libraries/pthreads/include/pthread.h
View file @
d137b536
...
...
@@ -121,6 +121,9 @@
#endif
#if _MSC_VER >= 1900
#include <ctime>
#else
/* Windows doesn't have this, so declare it ourselves. */
struct
timespec
{
...
...
@@ -128,6 +131,7 @@ struct timespec
long
long
tv_sec
;
long
long
tv_nsec
;
};
#endif
typedef
struct
_pthread_cleanup
_pthread_cleanup
;
struct
_pthread_cleanup
...
...
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