diff --git a/Mesh/meshGRegionBoundaryRecovery.cpp b/Mesh/meshGRegionBoundaryRecovery.cpp
index 5e7e680054bbe209fcb6af4af955ef4a68ba8cc8..2e4719a6bb69142327a274b92d864ab60a5d1022 100644
--- a/Mesh/meshGRegionBoundaryRecovery.cpp
+++ b/Mesh/meshGRegionBoundaryRecovery.cpp
@@ -89,7 +89,9 @@ static double orient4d(double*, double *, double *, double *, double *,
                        double, double, double, double, double){ return 0.; }
 static int clock(){ return 0; }
 #define clock_t int
+#if !defined(TETLIBRARY)
 #define TETLIBRARY
+#endif
 #include "tetgenBR.h"
 #include "tetgenBR.cxx"