including qmath.h instead of math.h fixes problem with M_PI in MSVC

This commit is contained in:
Mathew Sutcliffe
2013-04-29 23:32:13 +01:00
parent 715e6e8340
commit 177efba563

View File

@@ -5,8 +5,9 @@
#ifndef BLACKMISC_PQUNITS_H #ifndef BLACKMISC_PQUNITS_H
#define BLACKMISC_PQUNITS_H #define BLACKMISC_PQUNITS_H
#include "blackmisc/pqbase.h" #include "blackmisc/pqbase.h"
#include <math.h> #include <QtCore/qmath.h>
// //
// Used with the template for quantities. This is the reason for // Used with the template for quantities. This is the reason for