time: undef GetCurrentTime for Windows

This commit is contained in:
Liam 2023-11-25 16:18:02 -05:00
parent 090ea0281c
commit e6847c65a8
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,11 @@
#include "core/hle/service/time/errors.h" #include "core/hle/service/time/errors.h"
#include "core/hle/service/time/time_zone_types.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 { namespace Service::Time::Clock {
enum class TimeType : u8 { enum class TimeType : u8 {