diff options
-rw-r--r-- | gst/matroska/ebml-read.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/matroska/ebml-read.c b/gst/matroska/ebml-read.c index a8be67a56..56448b10b 100644 --- a/gst/matroska/ebml-read.c +++ b/gst/matroska/ebml-read.c @@ -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 |