From e648d59a10a5e6ab6b81d1111af75d3890f1481d Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 26 Nov 2019 16:05:44 +0100 Subject: [PATCH] [util] Fix winelib build Fixes #1256. --- src/util/util_time.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/util_time.h b/src/util/util_time.h index 3eca03bbd..cbadfa5d0 100644 --- a/src/util/util_time.h +++ b/src/util/util_time.h @@ -3,13 +3,13 @@ #include #include -#ifdef _WIN32 +#if defined(_WIN32) && !defined(__WINE__) #include #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 } \ No newline at end of file