From: Nirbheek Chauhan Date: Wed, 24 Feb 2016 23:46:42 +0000 (+0530) Subject: win32: Don't try to include xmath.h on newer Visual Studio X-Git-Tag: 1.10.4~516 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63803bfac086035368ecd3314439bb7321769ce2;p=platform%2Fupstream%2Fgst-plugins-good.git win32: Don't try to include xmath.h on newer Visual Studio --- diff --git a/gst/matroska/ebml-read.c b/gst/matroska/ebml-read.c index a8be67a..56448b1 100644 --- a/gst/matroska/ebml-read.c +++ b/gst/matroska/ebml-read.c @@ -30,8 +30,9 @@ #include -/* 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 #endif