diff options
Diffstat (limited to 'progs/xdemos/glxgears.c')
-rw-r--r-- | progs/xdemos/glxgears.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/xdemos/glxgears.c b/progs/xdemos/glxgears.c index 53c20980cdf..59691513e2c 100644 --- a/progs/xdemos/glxgears.c +++ b/progs/xdemos/glxgears.c @@ -53,8 +53,12 @@ static int current_time(void) { struct timeval tv; +#ifdef __VMS + (void) gettimeofday(&tv, NULL ); +#else struct timezone tz; (void) gettimeofday(&tv, &tz); +#endif return (int) tv.tv_sec; } |