diff options
| author | 2016-10-10 03:07:53 +0000 | |
|---|---|---|
| committer | 2016-10-27 23:28:30 +0000 | |
| commit | 50ce19b3ff64f26194009df73c456b9035d903c6 (patch) | |
| tree | 66abe60fae76a933562519db38ebe558abde8b77 /externals/microprofile/microprofileui.h | |
| parent | core: some errno values are uncommon on Unix (diff) | |
| download | yuzu-50ce19b3ff64f26194009df73c456b9035d903c6.tar.gz yuzu-50ce19b3ff64f26194009df73c456b9035d903c6.tar.xz yuzu-50ce19b3ff64f26194009df73c456b9035d903c6.zip | |
microprofile: unbreak on POSIX systems
In file included from src/common/microprofile.cpp:7:
In file included from src/./common/microprofile.h:23:
externals/microprofile/microprofile.h:830:5: error: use of undeclared identifier 'MP_BREAK'
MP_ASSERT(t == nBegin);
^
externals/microprofile/microprofile.h:238:34: note: expanded from macro 'MP_ASSERT'
^
externals/microprofile/microprofile.h:831:5: error: use of undeclared identifier 'MP_BREAK'
MP_ASSERT(nTimerIndex == (nToken&0x3fff));
^
externals/microprofile/microprofile.h:238:34: note: expanded from macro 'MP_ASSERT'
^
[...]
Diffstat (limited to 'externals/microprofile/microprofileui.h')
| -rw-r--r-- | externals/microprofile/microprofileui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/externals/microprofile/microprofileui.h b/externals/microprofile/microprofileui.h index 45bec8af6..66a73abc5 100644 --- a/externals/microprofile/microprofileui.h +++ b/externals/microprofile/microprofileui.h | |||
| @@ -172,6 +172,7 @@ MICROPROFILEUI_API void MicroProfileCustomGroupAddTimer(const char* pCustomName, | |||
| 172 | #ifdef _WIN32 | 172 | #ifdef _WIN32 |
| 173 | #define snprintf _snprintf | 173 | #define snprintf _snprintf |
| 174 | #endif | 174 | #endif |
| 175 | #include <stdio.h> | ||
| 175 | #include <stdlib.h> | 176 | #include <stdlib.h> |
| 176 | #include <stdarg.h> | 177 | #include <stdarg.h> |
| 177 | #include <math.h> | 178 | #include <math.h> |