Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/carve/lib/triangulator.cpp')
-rw-r--r--extern/carve/lib/triangulator.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/extern/carve/lib/triangulator.cpp b/extern/carve/lib/triangulator.cpp
index 169e5a33805..bd5a30b0c2b 100644
--- a/extern/carve/lib/triangulator.cpp
+++ b/extern/carve/lib/triangulator.cpp
@@ -27,6 +27,13 @@
#include <algorithm>
+// Support for latest Clang/LLVM on FreeBSD which does have different libcxx.
+//
+// TODO(sergey): Move it some some more generic header with platform-specific
+// declarations.
+#ifdef _LIBCPP_VERSION
+# define __is_heap is_heap
+#endif
namespace {
// private code related to hole patching.