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
@ -193,7 +193,7 @@ typedef _mode_t mode_t;
|
|||||||
|
|
||||||
// int64 abs()
|
// int64 abs()
|
||||||
#ifdef __cplusplus // Normal 'C' doesn't permit over-ridden functions !!
|
#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)
|
if (val < 0)
|
||||||
return val * (-1);
|
return val * (-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user