diff --git a/3rdparty/astc/mathlib.h b/3rdparty/astc/mathlib.h index 364ef07..74c2b77 100644 --- a/3rdparty/astc/mathlib.h +++ b/3rdparty/astc/mathlib.h @@ -27,7 +27,7 @@ float cospi(float p); float nan(int p); -#if __cplusplus < 201103L +#if (!_MSC_VER) && (__cplusplus < 201103L) float fmax(float p, float q); float fmin(float p, float q); #endif // C++11