Commit b649c55c authored by Marcus D. Hanwell's avatar Marcus D. Hanwell
Browse files

COMP: Fix compilation failures with GCC 4.7.

It seems that intptr_t has moved into stdint.h.

Change-Id: I87679d71
parent 8b3d93bf
...@@ -31,6 +31,10 @@ ...@@ -31,6 +31,10 @@
// The embedded fonts // The embedded fonts
#include "fonts/vtkEmbeddedFonts.h" #include "fonts/vtkEmbeddedFonts.h"
#ifndef _MSC_VER
# include <stdint.h>
#endif
#ifdef FTGL_USE_NAMESPACE #ifdef FTGL_USE_NAMESPACE
using namespace ftgl; using namespace ftgl;
#endif #endif
......
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
#include "fonts/vtkEmbeddedFonts.h" #include "fonts/vtkEmbeddedFonts.h"
#include <sys/stat.h> #include <sys/stat.h>
#ifndef _MSC_VER
# include <stdint.h>
#endif
#ifdef FTGL_USE_NAMESPACE #ifdef FTGL_USE_NAMESPACE
using namespace ftgl; using namespace ftgl;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment