Merge pull request #12169 from liamwhite/its-time-to-stop

time: undef GetCurrentTime for Windows
This commit is contained in:
liamwhite 2023-11-25 20:56:31 -05:00 committed by GitHub
commit 8d7a55be5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 {