summaryrefslogtreecommitdiff
path: root/thirdparty/xatlas/build-fix-limits.patch
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-04-19 12:40:01 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-04-19 12:40:01 +0200
commit44f9a966e03c032bb5d89a4385f545f3b1ce3775 (patch)
tree30b790425452eec5f725eb17c47fa48c4f31776d /thirdparty/xatlas/build-fix-limits.patch
parent1e39fee1408055001e8500917f95581c4ac7b28f (diff)
xatlas: Redo our custom changes, but properly documented
Diffstat (limited to 'thirdparty/xatlas/build-fix-limits.patch')
-rw-r--r--thirdparty/xatlas/build-fix-limits.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/thirdparty/xatlas/build-fix-limits.patch b/thirdparty/xatlas/build-fix-limits.patch
new file mode 100644
index 0000000000..00d07371c0
--- /dev/null
+++ b/thirdparty/xatlas/build-fix-limits.patch
@@ -0,0 +1,14 @@
+diff --git a/thirdparty/xatlas/xatlas.h b/thirdparty/xatlas/xatlas.h
+index 7e556c6c3..dbf8ca08c 100644
+--- a/thirdparty/xatlas/xatlas.h
++++ b/thirdparty/xatlas/xatlas.h
+@@ -3,6 +3,9 @@
+ #ifndef XATLAS_H
+ #define XATLAS_H
+ #include <float.h> // FLT_MAX
++// -- GODOT start --
++#include <limits.h> // INT_MAX, UINT_MAX
++// -- GODOT end --
+
+ namespace xatlas {
+