+ fix linker error with MSVC 2012
This commit is contained in:
@@ -48,7 +48,7 @@ using namespace std;
|
||||
#endif
|
||||
|
||||
|
||||
#if _MSC_VER <= 1500
|
||||
#if _MSC_VER <= 1700
|
||||
// maybe in the c++ standard later, older compiler don't have round()
|
||||
double round(double r) {
|
||||
return (r > 0.0) ? floor(r + 0.5) : ceil(r - 0.5);
|
||||
|
||||
Reference in New Issue
Block a user