From c3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Mon, 1 Aug 2016 15:13:35 -0600 Subject: Add mingw compile support --- externals/microprofile/microprofile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'externals/microprofile') diff --git a/externals/microprofile/microprofile.h b/externals/microprofile/microprofile.h index 30613b3b0..f45c9ba82 100644 --- a/externals/microprofile/microprofile.h +++ b/externals/microprofile/microprofile.h @@ -512,7 +512,7 @@ typedef int MpSocket; #ifndef _WIN32 typedef pthread_t MicroProfileThread; -#elif defined(_WIN32) +#elif defined(_MSC_VER) typedef HANDLE MicroProfileThread; #else typedef std::thread* MicroProfileThread; @@ -921,7 +921,7 @@ void MicroProfileThreadJoin(MicroProfileThread* pThread) int r = pthread_join(*pThread, 0); MP_ASSERT(r == 0); } -#elif defined(_WIN32) +#elif defined(_MSC_VER) typedef HANDLE MicroProfileThread; DWORD _stdcall ThreadTrampoline(void* pFunc) { -- cgit v1.2.3