openmj2/opj_includes.h: Do not define 'lrintf' on MSVC since 16.9.2

This commit is contained in:
Mario Emmenlauer 2021-03-24 10:40:02 +01:00
parent 0bda7188b7
commit e780610187
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ Most compilers implement their own version of this keyword ...
#endif
/* MSVC and Borland C do not have lrintf */
#if defined(_MSC_VER) || defined(__BORLANDC__)
#if (defined(_MSC_VER) && (_MSC_FULL_VER < 192829913)) || defined(__BORLANDC__)
static INLINE long lrintf(float f)
{
#ifdef _M_X64