mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
win32: Don't try to include xmath.h on newer Visual Studio
This commit is contained in:
parent
5d93844676
commit
63803bfac0
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue