Guard against _USE_MATH_DEFINES redefinition
This commit is contained in:
1 parent
2b66ef0df4
commit
a23d1af0ac
1 file changed
+3
-1
@@ -85,7 +85,9 @@
|
||||
Visual Studio. See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
|
||||
for more information.
|
||||
*/
|
||||
# define _USE_MATH_DEFINES
|
||||
# ifndef _USE_MATH_DEFINES
|
||||
# define _USE_MATH_DEFINES
|
||||
# endif
|
||||
# endif
|
||||
# include <math.h>
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user