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:
2020-03-18 11:23:56 -06:00
parent c9c08dc7c8
commit 1a502097c7
2 changed files with 5 additions and 2 deletions

View File

@@ -27,7 +27,7 @@
* \ingroup bli
*/
#ifdef _MSC_VER
#if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
# define _USE_MATH_DEFINES
#endif