aboutsummaryrefslogtreecommitdiffstats
path: root/progs/xdemos/glxgears.c
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2002-10-08 08:38:26 +0000
committerJouk Jansen <[email protected]>2002-10-08 08:38:26 +0000
commitf72a3da6979a91d8899f1f3b198718e54b108b8b (patch)
tree00a4a7783d796f17f0dd76dd3d5e61125ecd7ce3 /progs/xdemos/glxgears.c
parentcf69eeb1aa566386a0b1923b2a5e4dfbce6de9da (diff)
Committing in .
Add compile support in the xdemos directory for OpenVMS Modified Files: Mesa/descrip.mms Mesa/xdemos/descrip.mms Mesa/xdemos/glxgears.c ----------------------------------------------------------------------
Diffstat (limited to 'progs/xdemos/glxgears.c')
-rw-r--r--progs/xdemos/glxgears.c4
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;
}