summaryrefslogtreecommitdiffstats
path: root/src/glut/glx/glut_get.c
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2001-02-09 12:19:17 +0000
committerJouk Jansen <[email protected]>2001-02-09 12:19:17 +0000
commit18ce0f12540b016cbb08b7d304d80af0f7bb168b (patch)
tree63468a2e8bad2d913e30e64dfa82fdf2fbc3779c /src/glut/glx/glut_get.c
parent9db3f95acea5622573803890afd506ebcdaab3b3 (diff)
Committing in .
Modified Files: Mesa/src-glut/glut_event.c Mesa/src-glut/glut_get.c Mesa/src-glut/glut_init.c Mesa/src-glut/glutint.h Patch for compilation on very old VMS (version 6.2 and earlier) ----------------------------------------------------------------------
Diffstat (limited to 'src/glut/glx/glut_get.c')
-rw-r--r--src/glut/glx/glut_get.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/glut/glx/glut_get.c b/src/glut/glx/glut_get.c
index e4117bdc86e..ecfd981ad9f 100644
--- a/src/glut/glx/glut_get.c
+++ b/src/glut/glx/glut_get.c
@@ -186,9 +186,13 @@ glutGet(GLenum param)
}
case GLUT_ELAPSED_TIME:
{
- struct timeval elapsed, beginning, now;
+#ifdef OLD_VMS
+ struct timeval6 elapsed, beginning, now;
+#else
+ struct timeval elapsed, beginning, now;
+#endif
- __glutInitTime(&beginning);
+ __glutInitTime(&beginning);
GETTIMEOFDAY(&now);
TIMEDELTA(elapsed, now, beginning);
/* Return elapsed milliseconds. */