ports/cad/netgen/files/patch-libsrc_occ_Partition__Loop2d.cxx
Stephen Montgomery-Smith 4bdd185116 - Update to 5.3.1.
- Default OCC to OFF.
- Mark broken only if OCC is set.
2016-01-18 05:58:09 +00:00

13 lines
354 B
C++

--- libsrc/occ/Partition_Loop2d.cxx.orig 2014-08-29 09:54:03 UTC
+++ libsrc/occ/Partition_Loop2d.cxx
@@ -52,6 +52,10 @@
#include <gp_Pnt.hxx>
#include <gp_Pnt2d.hxx>
+#ifndef PI
+#define PI 3.14159265358979323846
+#endif
+
//=======================================================================
//function : Partition_Loop2d
//purpose :