mirror of
https://github.com/overte-org/overte.git
synced 2025-07-10 22:58:43 +02:00
fixes for portable hrc class on win
This commit is contained in:
parent
2737e74432
commit
f7f54010f5
2 changed files with 2 additions and 1 deletions
|
@ -18,7 +18,7 @@ namespace {
|
||||||
LARGE_INTEGER frequency;
|
LARGE_INTEGER frequency;
|
||||||
QueryPerformanceFrequency(&frequency);
|
QueryPerformanceFrequency(&frequency);
|
||||||
return frequency.QuadPart;
|
return frequency.QuadPart;
|
||||||
}
|
}();
|
||||||
}
|
}
|
||||||
|
|
||||||
win_high_resolution_clock::time_point win_high_resolution_clock::now() {
|
win_high_resolution_clock::time_point win_high_resolution_clock::now() {
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
|
|
||||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
// The following struct is not compliant with the HF coding standard, but uses underscores to match the classes
|
// The following struct is not compliant with the HF coding standard, but uses underscores to match the classes
|
||||||
|
|
Loading…
Reference in a new issue