diff options
author | John Emmas <johne53@tiscali.co.uk> | 2015-02-28 13:01:02 +0000 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2015-02-28 13:01:02 +0000 |
commit | 803a2393101195cffb26280543e269a45a7f992c (patch) | |
tree | ef5905744f898b334d07fede09de7ea14523bc7a /gtk2_ardour/export_video_dialog.cc | |
parent | 32e23db6652fbbe54957872a96953b3eed7dad66 (diff) |
MSVC - accommodate some newly introduced calls to 'rintf()'
('rintf()' isn't available in MSVC)
Diffstat (limited to 'gtk2_ardour/export_video_dialog.cc')
-rw-r--r-- | gtk2_ardour/export_video_dialog.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/export_video_dialog.cc b/gtk2_ardour/export_video_dialog.cc index 0cc0a4d909..e1d3e22571 100644 --- a/gtk2_ardour/export_video_dialog.cc +++ b/gtk2_ardour/export_video_dialog.cc @@ -57,6 +57,10 @@ #include "utils_videotl.h" #include "i18n.h" +#ifdef COMPILER_MSVC +#define rintf(x) round((x) + 0.5) +#endif + using namespace Gtk; using namespace std; using namespace PBD; |