Salome HOME
topo2vol: use CEA repository
[tools/sat_salome.git] / products / patches / gmsh_4_1_4-win.patch
1 --- gmsh_ref/api/gmsh.h 2019-02-02 13:03:46.000000000 +0100
2 +++ gmsh/api/gmsh.h     2020-12-26 15:00:16.000000000 +0100
3 @@ -34,6 +34,12 @@
4  #define GMSH_API
5  #endif
6  
7 +#ifdef WIN32
8 +#if !defined(M_PI)
9 +  #define M_PI 3.14159265358979323846264338327950
10 +#endif // M_PI
11 +#endif
12 +
13  namespace gmsh {
14  
15    // A geometrical entity in the Gmsh API is represented by two integers: its