From c7d2975213d849c5a6a3328e2dbb90bc91ca5ec5 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 19 Oct 2016 08:18:20 +0000
Subject: [PATCH] define TETLIBRARY to avoid exit()

---
 Mesh/meshGRegionBoundaryRecovery.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Mesh/meshGRegionBoundaryRecovery.cpp b/Mesh/meshGRegionBoundaryRecovery.cpp
index 819b3e5686..5e7e680054 100644
--- a/Mesh/meshGRegionBoundaryRecovery.cpp
+++ b/Mesh/meshGRegionBoundaryRecovery.cpp
@@ -89,6 +89,7 @@ static double orient4d(double*, double *, double *, double *, double *,
                        double, double, double, double, double){ return 0.; }
 static int clock(){ return 0; }
 #define clock_t int
+#define TETLIBRARY
 #include "tetgenBR.h"
 #include "tetgenBR.cxx"
 
-- 
GitLab