summaryrefslogtreecommitdiff
path: root/msvc_extra_headers
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2014-06-04 18:12:30 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2014-06-04 18:20:33 +0100
commitfa452028112592482926165bb685c61e1329da81 (patch)
tree6f8937c808cc68c188bdd5aff6c86450060c374a /msvc_extra_headers
parenta907d3455ef4122f35f509cf0638a45aca8d3b7b (diff)
Change the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflict with more recent versions of MSVC
Diffstat (limited to 'msvc_extra_headers')
-rw-r--r--msvc_extra_headers/ardourext/misc.h.input2
1 files changed, 1 insertions, 1 deletions
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);