aboutsummaryrefslogtreecommitdiff
path: root/cad/netgen/files/patch-libsrc_occ_Partition__Loop2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cad/netgen/files/patch-libsrc_occ_Partition__Loop2d.cxx')
-rw-r--r--cad/netgen/files/patch-libsrc_occ_Partition__Loop2d.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/cad/netgen/files/patch-libsrc_occ_Partition__Loop2d.cxx b/cad/netgen/files/patch-libsrc_occ_Partition__Loop2d.cxx
new file mode 100644
index 000000000000..a18d236b26e4
--- /dev/null
+++ b/cad/netgen/files/patch-libsrc_occ_Partition__Loop2d.cxx
@@ -0,0 +1,13 @@
+--- 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 :