Change the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflic...
authorJohn Emmas <johne53@tiscali.co.uk>
Wed, 4 Jun 2014 17:12:30 +0000 (18:12 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Wed, 4 Jun 2014 17:20:33 +0000 (18:20 +0100)
msvc_extra_headers/ardourext/misc.h.input

index 79fb5aafab2e4c7894219dc5335e8cf9d5b80d91..3ea4a806e9574f7b64b2417d9f937ce259d6f66b 100644 (file)
@@ -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);