Cleanup: Fix build warnings on windows.
Two headers define the _USE_MATH_DEFINES symbol now, if both are included warnings are generated. Added some guards, all good again.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
* \ingroup bli
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
|
||||
# define _USE_MATH_DEFINES
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user