diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-06-04 18:12:30 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-06-04 18:20:33 +0100 |
commit | fa452028112592482926165bb685c61e1329da81 (patch) | |
tree | 6f8937c808cc68c188bdd5aff6c86450060c374a /msvc_extra_headers | |
parent | a907d3455ef4122f35f509cf0638a45aca8d3b7b (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.input | 2 |
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); |