diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-11-03 13:47:28 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-03 07:19:05 -0800 |
commit | 05ca5051e9515239eb320f404a555165d618991c (patch) | |
tree | 748de27903e1d3656e4359429fa514fac2302b1f /xslt | |
parent | 4833d6bd725e1db6fc6592815483b19939ea7a95 (diff) | |
download | subsurface-05ca5051e9515239eb320f404a555165d618991c.tar.gz |
Fix M_PI with -std=c++11 on Mingw
The introduction of -std=c++11 breaks usage of M_PI in Mingw,
but technically M_PI is not standard C or C++.
Defining M_PI in units.h solves the issue.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
0 files changed, 0 insertions, 0 deletions