Ver Fonte

time: undef GetCurrentTime for Windows

Liam há 2 anos atrás
pai
commit
e6847c65a8
1 ficheiros alterados com 5 adições e 0 exclusões
  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 {