From a0b117b9481a1a3091a6d0c1fe0deacf17e20529 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Fri, 19 Aug 2016 10:19:32 +0100 Subject: 'roundf()' wasn't introduced in MSVC until VS2013 - so for the time being, let's emulate it using 'floorf()' --- msvc_extra_headers/ardourext/misc.h.input | 1 + 1 file changed, 1 insertion(+) (limited to 'msvc_extra_headers') diff --git a/msvc_extra_headers/ardourext/misc.h.input b/msvc_extra_headers/ardourext/misc.h.input index 11ba638494..6b6533b510 100644 --- 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. -- cgit v1.2.3