--- ray/src/common/rtmath.h 2016/03/10 18:09:43 3.10 +++ ray/src/common/rtmath.h 2016/03/10 18:24:49 3.11 @@ -1,4 +1,4 @@ -/* RCSid $Id: rtmath.h,v 3.10 2016/03/10 18:09:43 schorsch Exp $ */ +/* RCSid $Id: rtmath.h,v 3.11 2016/03/10 18:24:49 schorsch Exp $ */ /* * Header for Radiance vector and math routines */ @@ -47,7 +47,7 @@ extern double atan2a(double y, double x); #endif /* VC 2015 has those defined (XXX possibly earlier?) */ -#if ((defined(_WIN32) || defined(_WIN64)) +#if ((defined(_WIN32) || defined(_WIN64)) \ && (!defined(_MS_VER) || _MS_VER < 1900)) extern double erf(double x); extern double erfc(double x);