From 18893c8cdabd6bb83c2be85721c0ded6111da416 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Fri, 19 Aug 2016 16:19:55 +0000 Subject: [PATCH] fix for compilers without intptr_t --- Fltk/drawContextFltk.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Fltk/drawContextFltk.h b/Fltk/drawContextFltk.h index c3d4f21734..420030c118 100644 --- a/Fltk/drawContextFltk.h +++ b/Fltk/drawContextFltk.h @@ -6,6 +6,12 @@ #ifndef _DRAW_CONTEXT_FLTK_H_ #define _DRAW_CONTEXT_FLTK_H_ +#include "GmshConfig.h" +#if !defined(HAVE_NO_STDINT_H) +#include <stdint.h> +#elif defined(HAVE_NO_INTPTR_T) +typedef unsigned long intptr_t; +#endif #include <FL/x.H> #include <FL/gl.h> #include "FlGui.h" -- GitLab