Commit 70a2b23a authored by Alexander Stohr's avatar Alexander Stohr

use better condition for checking if compiler supports round()

parent df88c318
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include "precomp.hpp" #include "precomp.hpp"
#ifdef _MSC_VER #ifdef _MSC_VER
#if (__cplusplus <= 199711L) #if (_MSC_VER <= 1700)
/* This function rounds x to the nearest integer, but rounds halfway cases away from zero. */ /* This function rounds x to the nearest integer, but rounds halfway cases away from zero. */
static inline double round(double x) static inline double round(double x)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment