summarylogtreecommitdiffstats
path: root/gcc5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gcc5.patch')
-rw-r--r--gcc5.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/gcc5.patch b/gcc5.patch
new file mode 100644
index 000000000000..54034fe4a223
--- /dev/null
+++ b/gcc5.patch
@@ -0,0 +1,18 @@
+diff --git a/include/triangulate.h b/include/triangulate.h
+index 7a12790..74239b2 100644
+--- a/include/triangulate.h
++++ b/include/triangulate.h
+@@ -245,4 +245,13 @@ extern int read_segments(char *, int *);
+ extern int math_logstar_n(int);
+ extern int math_N(int, int);
+
++extern inline int int_greater_than(ipoint_t *v0, ipoint_t *v1);
++extern inline int int_equal_to(ipoint_t *v0, ipoint_t *v1);
++extern inline int int_greater_than_equal_to(ipoint_t *v0, ipoint_t *v1);
++extern inline int int_less_than(ipoint_t *v0, ipoint_t *v1);
++#ifndef __clang__
++extern inline int int_locate_endpoint_a(ipoint_t *v, ipoint_t *vo, int r);
++#endif
++extern inline int int_locate_endpoint(ipoint_t *v, ipoint_t *vo, int r);
++
+ #endif /* triangulate_h */