summaryrefslogtreecommitdiff
path: root/src/CGALEvaluator.cc
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-12-06 00:43:44 (GMT)
committerMarius Kintel <marius@kintel.net>2011-12-06 00:43:44 (GMT)
commitbb0ec94290733835df0716531c30460fc5b5210a (patch)
tree97e0c552ac7d7a19d9819a89c9277e461ff7c074 /src/CGALEvaluator.cc
parent65a5aa23bfd78718972082f82eb7366d01a968a6 (diff)
#undef NDEBUG before including any CGAL headers
Diffstat (limited to 'src/CGALEvaluator.cc')
-rw-r--r--src/CGALEvaluator.cc10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/CGALEvaluator.cc b/src/CGALEvaluator.cc
index 78b9c78..1772354 100644
--- a/src/CGALEvaluator.cc
+++ b/src/CGALEvaluator.cc
@@ -16,9 +16,15 @@
#include "CGALCache.h"
#include "cgal.h"
#include "cgalutils.h"
-#include <CGAL/assertions_behaviour.h>
-#include <CGAL/exceptions.h>
+
+#ifdef NDEBUG
+#define PREV_NDEBUG NDEBUG
+#undef NDEBUG
+#endif
#include <CGAL/convex_hull_3.h>
+#ifdef PREV_NDEBUG
+#define NDEBUG PREV_NDEBUG
+#endif
#include <string>
#include <map>
contact: Jan Huwald // Impressum