summaryrefslogtreecommitdiffstats
path: root/externals/microprofile
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2016-08-01 23:13:35 +0200
committerJames Rowe <jroweboy@gmail.com>2016-11-14 07:50:46 +0100
commitc3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395 (patch)
tree282996d714b4c104ae0270ba0c505160b05207d0 /externals/microprofile
parentMerge pull request #2171 from jroweboy/fix-mac-build (diff)
downloadyuzu-c3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395.tar
yuzu-c3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395.tar.gz
yuzu-c3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395.tar.bz2
yuzu-c3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395.tar.lz
yuzu-c3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395.tar.xz
yuzu-c3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395.tar.zst
yuzu-c3ea6f4ddb4aeed9663b5039e9ab11a7fef7c395.zip
Diffstat (limited to 'externals/microprofile')
-rw-r--r--externals/microprofile/microprofile.h4
1 files changed, 2 insertions, 2 deletions
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)
{