← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 2443: - Really solved compilation problem with 'cgal' feature, sorry again

 

------------------------------------------------------------
revno: 2443
committer: ecatalano <ecatalano@dt-rv019>
branch nick: trunk
timestamp: Thu 2010-09-23 14:10:58 +0200
message:
  - Really solved compilation problem with 'cgal' feature, sorry again
modified:
  lib/triangulation/Network.cpp
  lib/triangulation/Network.h


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'lib/triangulation/Network.cpp'
--- lib/triangulation/Network.cpp	2010-09-09 12:41:04 +0000
+++ lib/triangulation/Network.cpp	2010-09-23 12:10:58 +0000
@@ -11,7 +11,7 @@
 #include <sys/types.h>
 
 #include "Network.h"
-
+#ifdef FLOW_ENGINE
 #define FAST
 
 const double ONE_THIRD = 1.0/3.0;
@@ -578,4 +578,5 @@
 //
 //  return  aire_triangle_spherique;
 // }
-} //namespace CGT
\ No newline at end of file
+} //namespace CGT
+#endif //FLOW_ENGINE
\ No newline at end of file

=== modified file 'lib/triangulation/Network.h'
--- lib/triangulation/Network.h	2010-09-09 12:41:04 +0000
+++ lib/triangulation/Network.h	2010-09-23 12:10:58 +0000
@@ -15,7 +15,7 @@
 #include "Timer.h"
 #include "stdafx.h"
 #include "Empilement.h"
-
+#ifdef FLOW_ENGINE
 namespace CGT{
 
 struct Boundary
@@ -79,5 +79,5 @@
 };
 
 } //namespaceCGT
-
+#endif //FLOW_ENGINE
 #endif
\ No newline at end of file