13
0

window compilation fix

This commit is contained in:
Paul Davis 2021-06-26 18:47:08 -06:00
parent 5c8df87205
commit 228231d914

View File

@ -53,26 +53,7 @@ namespace {
static bool libpbd_initialized = false;
#ifdef PLATFORM_WINDOWS
static
void
test_timers_from_env ()
{
bool set;
std::string options;
options = Glib::getenv ("PBD_TEST_TIMERS", set);
if (set) {
if (!PBD::QPC::check_timer_valid ()) {
PBD::error << X_("Windows QPC Timer source not usable") << endmsg;
} else {
PBD::info << X_("Windows QPC Timer source usable") << endmsg;
}
}
}
#endif
} // namespace
bool
PBD::init ()
@ -98,9 +79,6 @@ PBD::init ()
return false;
}
QPC::initialize();
test_timers_from_env ();
if (!PBD::MMCSS::initialize()) {
PBD::info << X_("Unable to initialize MMCSS") << endmsg;
} else {