Give llround its own namespace to not conflict with 'long long round' in newer compilers

Tank_Master 2013-10-27 21:14:22 -07:00
parent 313b20c69f
commit 75eedead99
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ inline S32 llceil( F32 f )
#ifndef BOGUS_ROUND
// Use this round. Does an arithmetic round (0.5 always rounds up)
#define llround _llround // <FS:TM> added to not conflict with 'Long Long Round' in newer compilers
inline S32 llround(const F32 val)
{
return llfloor(val + 0.5f);