Commit 63803bfa authored by Nirbheek Chauhan's avatar Nirbheek Chauhan Committed by Tim-Philipp Müller

win32: Don't try to include xmath.h on newer Visual Studio

parent 5d938446
......@@ -30,8 +30,9 @@
#include <math.h>
/* NAN is supposed to be in math.h, Microsoft defines it in xmath.h */
#ifdef _MSC_VER
/* NAN is supposed to be in math.h, Microsoft defines it in xmath.h
* However, starting iwth Visual Studio 8, NAN is defined by default */
#if defined (_MSC_VER) && _MSC_VER < 1500
#include <xmath.h>
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment