Define additional math.h constants if not already defined
authorJonathan Liu <net147@gmail.com>
Fri, 19 Oct 2012 09:54:32 +0000 (20:54 +1100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 29 Oct 2012 23:06:26 +0000 (00:06 +0100)
commitd3c1a9f38784c8d3a439517cc971320d74613869
treec94689a55127f61a35e1adfedbb28a67a5aeebcd
parentf7893223e84db86dcdd860c625663d7006fcdad6
Define additional math.h constants if not already defined

The M_E, M_PI_2, etc. math.h constants are not defined with MinGW-w64
GCC when compiling with -std=c++11.

Task-number: QTBUG-27561
Change-Id: I2267c170dd3788abc9c37425a9be514bbae51f5a
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Alexey Pavlov <alexpux@gmail.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/corelib/kernel/qmath.h