13
0

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:
John Emmas 2014-06-04 18:12:30 +01:00
parent a907d3455e
commit fa45202811

View 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);