Browse Source

Fix SystemTime compilation error in UNIX like machines

Patrick-Christopher Mattulat 1 year ago
parent
commit
f7ce12b044
1 changed files with 2 additions and 0 deletions
  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;