Don't try to set _USE_MATH_DEFINES if already defined
This commit is contained in:
parent
25917c780f
commit
1c0eeb7cb3
|
@ -183,7 +183,7 @@
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cfloat>
|
#include <cfloat>
|
||||||
#include <climits>
|
#include <climits>
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
|
||||||
# define _USE_MATH_DEFINES
|
# define _USE_MATH_DEFINES
|
||||||
#endif
|
#endif
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
Loading…
Reference in New Issue