projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
'roundf()' wasn't introduced in MSVC until VS2013 - so for the time being, let's...
[ardour.git]
/
msvc_extra_headers
/
ardourext
/
misc.h.input
diff --git
a/msvc_extra_headers/ardourext/misc.h.input
b/msvc_extra_headers/ardourext/misc.h.input
index 11ba6384943216c81f35dd5251d2a76f81667f24..6b6533b510eca0fe36df2bfcf07076a579964d36 100644
(file)
--- a/
msvc_extra_headers/ardourext/misc.h.input
+++ b/
msvc_extra_headers/ardourext/misc.h.input
@@
-253,6
+253,7
@@
inline int64_t abs(int64_t val) throw()
#if !defined(LIBPBD_API) || defined(PBD_IS_IN_WIN_STATIC_LIB)
extern double round(double x);
+extern float roundf(float x);
// Emulate some C99 math functions which MSVC itself didn't
// implement until later in life.