Sfoglia il codice sorgente

Fix SystemTime compilation error in UNIX like machines

Patrick-Christopher Mattulat 1 anno fa
parent
commit
f7ce12b044
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      source/ls-std/time/system-time/SystemTime.cpp

+ 2 - 0
source/ls-std/time/system-time/SystemTime.cpp

@@ -27,7 +27,9 @@ using ls::std::time::PosixClock;
 #endif
 using ls::std::time::SystemTime;
 using ls::std::time::SystemTimeParameter;
+#ifdef _WIN32
 using ls::std::time::WindowsClock;
+#endif
 using ls::std::time::type::UnixTimestamp;
 using std::make_shared;
 using std::shared_ptr;