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

random.patch « patches « carve « extern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 36cc8d1043090f1ff354e43c6eecaf30a81bb7d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -r 9a85d733a43d lib/polyhedron.cpp
--- a/lib/polyhedron.cpp	Tue Jun 24 11:15:23 2014 +1000
+++ b/lib/polyhedron.cpp	Thu Nov 13 17:36:06 2014 +0500
@@ -36,7 +36,11 @@
 
 #include <carve/mesh.hpp>
 
-#include BOOST_INCLUDE(random.hpp)
+#ifdef HAVE_BOOST_LIBRARY
+#  include BOOST_INCLUDE(random.hpp)
+#else
+#  include <carve/random/random.h>
+#endif
 
 namespace {
   bool emb_test(carve::poly::Polyhedron *poly,