mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Change the function signature for 'abs(int64_t)' (Windows) so that it doesn't conflict with more recent versions of MSVC
This commit is contained in:
parent
a907d3455e
commit
fa45202811
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue