put get_microseconds() into PBD namsepace

This implementation is a blend of the two previously in libs/ardour/globals.cc
and libs/pbd/window_timer_utils.cc
This commit is contained in:
Paul Davis 2021-06-26 18:25:02 -06:00
parent a2974b0c0b
commit 9e598548f7
4 changed files with 4 additions and 118 deletions

View file

@ -36,6 +36,7 @@
#include "pbd/id.h"
#include "pbd/enumwriter.h"
#include "pbd/fpu.h"
#include "pbd/microseconds.h"
#include "pbd/xml++.h"
#ifdef PLATFORM_WINDOWS
@ -80,6 +81,8 @@ PBD::init ()
return true;
}
microsecond_timer_init ();
#ifdef PLATFORM_WINDOWS
// Essential!! Make sure that any files used by Ardour
// will be created or opened in BINARY mode!