projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32e23db
)
MSVC - accommodate some newly introduced calls to 'rintf()'
author
John Emmas
<johne53@tiscali.co.uk>
Sat, 28 Feb 2015 13:01:02 +0000
(13:01 +0000)
committer
John 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
patch
|
blob
|
history
diff --git
a/gtk2_ardour/export_video_dialog.cc
b/gtk2_ardour/export_video_dialog.cc
index 0cc0a4d9091e001178204c818ad4c0de02d2dd7c..e1d3e22571c7b537b78e75447c0be48847457cb2 100644
(file)
--- 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;