diff options
author | John Emmas <johne53@tiscali.co.uk> | 2015-04-24 19:11:10 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2015-04-24 19:11:10 +0100 |
commit | 8b5474b9e13fde1ec6632c32f65a39ecffc5d1d5 (patch) | |
tree | 4b6294c1166b941cb3e9430eda2efdf7df5f8802 /gtk2_ardour | |
parent | 4e36760bacecb89f0bb48a90cce205671b316022 (diff) |
For MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were already implemented
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/export_video_dialog.cc | 4 | ||||
-rw-r--r-- | gtk2_ardour/processor_box.cc | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/gtk2_ardour/export_video_dialog.cc b/gtk2_ardour/export_video_dialog.cc index e8b823dc90..13f1f8fe4d 100644 --- a/gtk2_ardour/export_video_dialog.cc +++ b/gtk2_ardour/export_video_dialog.cc @@ -57,10 +57,6 @@ #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; diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc index d4c240feaf..e801aaeb74 100644 --- a/gtk2_ardour/processor_box.cc +++ b/gtk2_ardour/processor_box.cc @@ -21,10 +21,6 @@ #include "gtk2ardour-config.h" #endif -#ifdef COMPILER_MSVC -#define rintf(x) round((x) + 0.5) -#endif - #include <cmath> #include <iostream> #include <set> |