Skip to content
Snippets Groups Projects
Commit 18893c8c authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix for compilers without intptr_t

parent 97ce1460
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,12 @@ ...@@ -6,6 +6,12 @@
#ifndef _DRAW_CONTEXT_FLTK_H_ #ifndef _DRAW_CONTEXT_FLTK_H_
#define _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/x.H>
#include <FL/gl.h> #include <FL/gl.h>
#include "FlGui.h" #include "FlGui.h"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment