+ fix linker error with MSVC 2012
This commit is contained in:
parent
bebca4e54c
commit
d29d62b4ab
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user