From 177efba563346445a05928d8989109e2409a02e3 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Mon, 29 Apr 2013 23:32:13 +0100 Subject: [PATCH] including qmath.h instead of math.h fixes problem with M_PI in MSVC --- src/blackmisc/pqunits.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/blackmisc/pqunits.h b/src/blackmisc/pqunits.h index a08328008..736ef86b8 100644 --- a/src/blackmisc/pqunits.h +++ b/src/blackmisc/pqunits.h @@ -5,8 +5,9 @@ #ifndef BLACKMISC_PQUNITS_H #define BLACKMISC_PQUNITS_H + #include "blackmisc/pqbase.h" -#include +#include // // Used with the template for quantities. This is the reason for