use better condition for checking if compiler supports round()

pull/304/head
Alexander Stohr 10 years ago
parent df88c31892
commit 70a2b23a6d
  1. 2
      modules/line_descriptor/src/binary_descriptor.cpp

@ -42,7 +42,7 @@
#include "precomp.hpp"
#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. */
static inline double round(double x)
{

Loading…
Cancel
Save