MSVC - accommodate some newly introduced calls to 'rintf()'
authorJohn Emmas <johne53@tiscali.co.uk>
Sat, 28 Feb 2015 13:01:02 +0000 (13:01 +0000)
committerJohn Emmas <johne53@tiscali.co.uk>
Sat, 28 Feb 2015 13:01:02 +0000 (13:01 +0000)
('rintf()' isn't available in MSVC)

gtk2_ardour/export_video_dialog.cc

index 0cc0a4d9091e001178204c818ad4c0de02d2dd7c..e1d3e22571c7b537b78e75447c0be48847457cb2 100644 (file)
 #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;