From fa452028112592482926165bb685c61e1329da81 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Wed, 4 Jun 2014 18:12:30 +0100 Subject: Change the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflict with more recent versions of MSVC --- msvc_extra_headers/ardourext/misc.h.input | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'msvc_extra_headers') diff --git a/msvc_extra_headers/ardourext/misc.h.input b/msvc_extra_headers/ardourext/misc.h.input index 79fb5aafab..3ea4a806e9 100644 --- a/msvc_extra_headers/ardourext/misc.h.input +++ b/msvc_extra_headers/ardourext/misc.h.input @@ -193,7 +193,7 @@ typedef _mode_t mode_t; // int64 abs() #ifdef __cplusplus // Normal 'C' doesn't permit over-ridden functions !! -inline uint64_t abs(int64_t val) +inline int64_t abs(int64_t val) throw() { if (val < 0) return val * (-1); -- cgit v1.2.3