diff --git a/Mesh/meshGRegionBoundaryRecovery.cpp b/Mesh/meshGRegionBoundaryRecovery.cpp index 9e249a695acd4608d81892577fc0a2297389cabb..c154d63cce9a03c88ea2d73c8fa2f39f2597f5bc 100644 --- a/Mesh/meshGRegionBoundaryRecovery.cpp +++ b/Mesh/meshGRegionBoundaryRecovery.cpp @@ -18,6 +18,11 @@ #include "MTetrahedron.h" #include "Context.h" #include "OS.h" +#if !defined(HAVE_NO_STDINT_H) +#include <stdint.h> +#elif defined(HAVE_NO_INTPTR_T) +typedef unsigned long uintptr_t; +#endif namespace tetgenBR { @@ -83,6 +88,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 uintptr_t long #include "tetgenBR.h" #include "tetgenBR.cxx"