mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Use round() instead of rintf() when building with MSVC
This commit is contained in:
parent
e0b2764b91
commit
bef4483611
1 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,10 @@
|
|||
#include "gtk2ardour-config.h"
|
||||
#endif
|
||||
|
||||
#ifdef COMPILER_MSVC
|
||||
#define rintf(x) round((x) + 0.5)
|
||||
#endif
|
||||
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
#include <set>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue