Windows Support

This commit is contained in:
Joseph Henry
2017-10-09 17:56:40 -07:00
parent 06a09edd6d
commit 2900f1f995
28 changed files with 486 additions and 241 deletions

View File

@@ -53,7 +53,8 @@ void handle_general_failure() {
inline unsigned int gettid()
{
#ifdef _WIN32
return GetCurrentThreadId();
//return GetCurrentThreadId();
return 0;
#elif defined(__linux__)
return static_cast<unsigned int>(syscall(__NR_gettid));
#elif defined(__APPLE__)