[Project64] fix issue in 2012

This commit is contained in:
Nicholas 2016-02-24 10:06:52 +11:00
parent 83490b75b6
commit 1ed5b044b3
1 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@ float roundf(float num)
} }
#endif #endif
#if (defined(_MSC_VER) && (_MSC_VER < 1700)) #if (defined(_MSC_VER) && (_MSC_VER <= 1700))
double trunc(double num) double trunc(double num)
{ {
return (num < 0) ? ceil(num) : floor(num); return (num < 0) ? ceil(num) : floor(num);