From 4aaaecc1a7770b669dbec223fc5d20f756ec7c64 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 18 Mar 2016 21:32:22 +0000 Subject: [PATCH] fix compile --- Mesh/meshGRegionBoundaryRecovery.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Mesh/meshGRegionBoundaryRecovery.cpp b/Mesh/meshGRegionBoundaryRecovery.cpp index 9e249a695a..c154d63cce 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" -- GitLab