"docs-source/vscode:/vscode.git/clone" did not exist on "2eb2c4647d2ff0e7917591948c2cd62cdde24e1e"
Commit d137b536 authored by peastman's avatar peastman
Browse files

Merge pull request #1256 from rmcgibbo/vs2015

Changes necessary for VS2015
parents 6ba00588 eaff4bab
...@@ -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)
......
...@@ -121,6 +121,9 @@ ...@@ -121,6 +121,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 +131,7 @@ struct timespec ...@@ -128,6 +131,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
......
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