Explorar o código

time: undef GetCurrentTime for Windows

Liam %!s(int64=2) %!d(string=hai) anos
pai
achega
e6847c65a8
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/core/hle/service/time/clock_types.h

+ 5 - 0
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 {