summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/egl/EGL
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2009-06-17 14:50:09 +0000
committerKenneth Russel <[email protected]>2009-06-17 14:50:09 +0000
commit894cc9e771863ef18a954d3f7e88e5e2edcfebd9 (patch)
treec6a9f06ee527ce79361892cb9ef52ea3fefc36f6 /make/stub_includes/egl/EGL
parent1e42ccc8a1c063056e7b0b41990e66d1718221b7 (diff)
Corrected non-C syntax. Worked around ancient compiler/OS on
Solaris/SPARC nightly build machines. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1978 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/stub_includes/egl/EGL')
-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