1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-29 10:24:10 +01:00

[util] Fix winelib build

Fixes #1256.
This commit is contained in:
Philip Rebohle 2019-11-26 16:05:44 +01:00
parent bf14371f9e
commit e648d59a10
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -3,13 +3,13 @@
#include <chrono>
#include <cstdint>
#ifdef _WIN32
#if defined(_WIN32) && !defined(__WINE__)
#include <windows.h>
#endif
namespace dxvk {
#ifdef _WIN32
#if defined(_WIN32) && !defined(__WINE__)
struct high_resolution_clock {
static constexpr bool is_steady = true;
@ -44,7 +44,7 @@ namespace dxvk {
}
};
#else
using clock = std::chrono::high_resolution_clock;
using high_resolution_clock = std::chrono::high_resolution_clock;
#endif
}