Removed the HAVE_LRINT macro, which is never set.

pull/1110/head
Roman Donchenko 12 years ago
parent eb8d9730cb
commit 6f326220d3
  1. 3
      cmake/templates/cvconfig.h.cmake
  2. 2
      modules/core/include/opencv2/core/types_c.h

@ -64,9 +64,6 @@
/* libpng/png.h needs to be included */
#cmakedefine HAVE_LIBPNG_PNG_H
/* Define to 1 if you have the `lrint' function. */
#cmakedefine HAVE_LRINT 1
/* PNG codec */
#cmakedefine HAVE_PNG

@ -317,7 +317,7 @@ CV_INLINE int cvRound( double value )
return t;
#elif defined _MSC_VER && defined _M_ARM && defined HAVE_TEGRA_OPTIMIZATION
TEGRA_ROUND(value);
#elif defined HAVE_LRINT || defined CV_ICC || defined __GNUC__
#elif defined CV_ICC || defined __GNUC__
# ifdef HAVE_TEGRA_OPTIMIZATION
TEGRA_ROUND(value);
# else

Loading…
Cancel
Save