From e6847c65a867d4095a40e6cf13298a7a9c6d0286 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 25 Nov 2023 16:18:02 -0500 Subject: time: undef GetCurrentTime for Windows --- src/core/hle/service/time/clock_types.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/core/hle/service/time/clock_types.h b/src/core/hle/service/time/clock_types.h index 9fc01ea90..7149fffeb 100644 --- a/src/core/hle/service/time/clock_types.h +++ b/src/core/hle/service/time/clock_types.h @@ -11,6 +11,11 @@ #include "core/hle/service/time/errors.h" #include "core/hle/service/time/time_zone_types.h" +// Defined by WinBase.h on Windows +#ifdef GetCurrentTime +#undef GetCurrentTime +#endif + namespace Service::Time::Clock { enum class TimeType : u8 { -- cgit v1.2.3