Skip to content
Snippets Groups Projects
Commit e32207dd authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

remove warning for redifning _USE_MATH_DEFINES

parent 6b5b76bf
No related branches found
No related tags found
No related merge requests found
......@@ -553,7 +553,7 @@ cpp_header="""// {0}
// By design, the {3} C++ API is purely functional, and only uses elementary
// types from the standard library. See `demos/api' for examples.
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
#define _USE_MATH_DEFINES
#endif
......@@ -698,7 +698,7 @@ cwrap_header="""// {0}
//
// Do not edit this file directly: it is automatically generated by `api/gen.py'.
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
#define _USE_MATH_DEFINES
#endif
......
......
......@@ -13,7 +13,7 @@
// By design, the Gmsh C++ API is purely functional, and only uses elementary
// types from the standard library. See `demos/api' for examples.
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
#define _USE_MATH_DEFINES
#endif
......
......
......@@ -21,7 +21,7 @@
//
// Do not edit this file directly: it is automatically generated by `api/gen.py'.
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(_USE_MATH_DEFINES)
#define _USE_MATH_DEFINES
#endif
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment