From 656d824b20315e3c264876be104d209e8cfc36c2 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Fri, 28 Aug 2015 06:12:12 -0300 Subject: Common: Fix MicroProfile compilation in MSVC2015 --- src/common/microprofile.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/microprofile.h b/src/common/microprofile.h index 9eb6016a8..d3b6cb97c 100644 --- a/src/common/microprofile.h +++ b/src/common/microprofile.h @@ -11,6 +11,11 @@ #define MICROPROFILE_CONTEXT_SWITCH_TRACE 0 #define MICROPROFILE_PER_THREAD_BUFFER_SIZE (2048<<12) // 8 MB +#ifdef _WIN32 +// This isn't defined by the standard library in MSVC2015 +typedef void* HANDLE; +#endif + #include #define MP_RGB(r, g, b) ((r) << 16 | (g) << 8 | (b) << 0) -- cgit v1.2.3