summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/egl/EGL/eglplatform.h
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/egl/EGL/eglplatform.h')
-rwxr-xr-xmake/stub_includes/egl/EGL/eglplatform.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/make/stub_includes/egl/EGL/eglplatform.h b/make/stub_includes/egl/EGL/eglplatform.h
index f763d98e3..5e4fa73f3 100755
--- a/make/stub_includes/egl/EGL/eglplatform.h
+++ b/make/stub_includes/egl/EGL/eglplatform.h
@@ -33,7 +33,12 @@ extern "C" {
typedef signed __int64 int64_t;
typedef unsigned __int64 uint64_t;
#else
- #include <stdint.h>
+ // Building on obsolete platform on SPARC right now
+ #ifdef __sparc
+ #include <inttypes.h>
+ #else
+ #include <stdint.h>
+ #endif
#endif
// Define storage class specifiers