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
a214e8ac
"vscode:/vscode.git/clone" did not exist on "47e03b07cd37464b93db2c69c2a36932eae60b97"
Commit
a214e8ac
authored
Nov 10, 2015
by
Robert McGibbon
Browse files
Changes necessery for VS2015
parent
6ba00588
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
CMakeLists.txt
CMakeLists.txt
+5
-0
libraries/pthreads/include/pthread.h
libraries/pthreads/include/pthread.h
+4
-1
No files found.
CMakeLists.txt
View file @
a214e8ac
...
@@ -65,6 +65,11 @@ ELSE(WIN32)
...
@@ -65,6 +65,11 @@ ELSE(WIN32)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
NOT OPENMM_INSTALL_PREFIX
)
ENDIF
(
WIN32
)
ENDIF
(
WIN32
)
IF
(
WIN32
)
ADD_DEFINITIONS
(
-DWIN32
)
ENDIF
(
WIN32
)
# Include CPU-Features for Android
# Include CPU-Features for Android
IF
(
ANDROID
)
IF
(
ANDROID
)
INCLUDE_DIRECTORIES
(
${
ANDROID_NDK
}
/sources/cpufeatures
)
INCLUDE_DIRECTORIES
(
${
ANDROID_NDK
}
/sources/cpufeatures
)
...
...
libraries/pthreads/include/pthread.h
View file @
a214e8ac
...
@@ -46,7 +46,6 @@
...
@@ -46,7 +46,6 @@
#ifndef WIN_PTHREADS
#ifndef WIN_PTHREADS
#define WIN_PTHREADS
#define WIN_PTHREADS
#include <windows.h>
#include <windows.h>
#include <intrin.h>
#include <intrin.h>
#include <setjmp.h>
#include <setjmp.h>
...
@@ -121,6 +120,9 @@
...
@@ -121,6 +120,9 @@
#endif
#endif
#if _MSC_VER >= 1900
#include <ctime>
#else
/* Windows doesn't have this, so declare it ourselves. */
/* Windows doesn't have this, so declare it ourselves. */
struct
timespec
struct
timespec
{
{
...
@@ -128,6 +130,7 @@ struct timespec
...
@@ -128,6 +130,7 @@ struct timespec
long
long
tv_sec
;
long
long
tv_sec
;
long
long
tv_nsec
;
long
long
tv_nsec
;
};
};
#endif
typedef
struct
_pthread_cleanup
_pthread_cleanup
;
typedef
struct
_pthread_cleanup
_pthread_cleanup
;
struct
_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