diff options
Diffstat (limited to 'src/glut/glx/glut_get.c')
-rw-r--r-- | src/glut/glx/glut_get.c | 8 |
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. */ |