diff --git a/cpp/command/misc.cpp b/cpp/command/misc.cpp index 33c3bb9a3..7de9b3b40 100644 --- a/cpp/command/misc.cpp +++ b/cpp/command/misc.cpp @@ -568,8 +568,13 @@ int MainCmds::demoplay(int argc, const char* const* argv) { int MainCmds::printclockinfo(int argc, const char* const* argv) { (void)argc; (void)argv; +#ifdef OS_IS_WINDOWS + cout << "Does nothing on windows, disabled" << endl; +#endif +#ifdef OS_IS_UNIX_OR_APPLE cout << "Tick unit in seconds: " << std::chrono::steady_clock::period::num << " / " << std::chrono::steady_clock::period::den << endl; cout << "Ticks since epoch: " << std::chrono::steady_clock::now().time_since_epoch().count() << endl; +#endif return 0; }