Sfoglia il codice sorgente

time: undef GetCurrentTime for Windows

Liam 2 anni fa
parent
commit
e6847c65a8
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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/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 {