Revision: 49961 http://brlcad.svn.sourceforge.net/brlcad/?rev=49961&view=rev Author: erikgreenwald Date: 2012-04-10 12:00:53 +0000 (Tue, 10 Apr 2012) Log Message: ----------- set _USE_MATH_DEFINES for msvc ( http://msdn.microsoft.com/en-us/library/4hwaceh6%28v=vs.80%29.aspx )
Modified Paths: -------------- brlcad/trunk/include/vmath.h Modified: brlcad/trunk/include/vmath.h =================================================================== --- brlcad/trunk/include/vmath.h 2012-04-10 11:54:28 UTC (rev 49960) +++ brlcad/trunk/include/vmath.h 2012-04-10 12:00:53 UTC (rev 49961) @@ -76,6 +76,9 @@ #include "common.h" /* for sqrt(), sin(), cos(), rint(), etc */ +#ifdef WIN32 +# define _USE_MATH_DEFINES +#endif #include <math.h> /* for floating point tolerances and other math constants */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits