summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-08-28 06:12:12 -0300
committerGravatar Yuri Kunde Schlesner2015-08-28 06:12:12 -0300
commit656d824b20315e3c264876be104d209e8cfc36c2 (patch)
treed3f04aa725a66c001af1a45be98d8f5c90165727 /src/common
parentMerge pull request #1080 from yuriks/linear-heap-base-typo (diff)
downloadyuzu-656d824b20315e3c264876be104d209e8cfc36c2.tar.gz
yuzu-656d824b20315e3c264876be104d209e8cfc36c2.tar.xz
yuzu-656d824b20315e3c264876be104d209e8cfc36c2.zip
Common: Fix MicroProfile compilation in MSVC2015
Diffstat (limited to 'src/common')
-rw-r--r--src/common/microprofile.h5
1 files changed, 5 insertions, 0 deletions
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 @@
11#define MICROPROFILE_CONTEXT_SWITCH_TRACE 0 11#define MICROPROFILE_CONTEXT_SWITCH_TRACE 0
12#define MICROPROFILE_PER_THREAD_BUFFER_SIZE (2048<<12) // 8 MB 12#define MICROPROFILE_PER_THREAD_BUFFER_SIZE (2048<<12) // 8 MB
13 13
14#ifdef _WIN32
15// This isn't defined by the standard library in MSVC2015
16typedef void* HANDLE;
17#endif
18
14#include <microprofile.h> 19#include <microprofile.h>
15 20
16#define MP_RGB(r, g, b) ((r) << 16 | (g) << 8 | (b) << 0) 21#define MP_RGB(r, g, b) ((r) << 16 | (g) << 8 | (b) << 0)