Committing in .
Add compile support in the xdemos directory for OpenVMS
Modified Files:
Mesa/descrip.mms Mesa/xdemos/descrip.mms
Mesa/xdemos/glxgears.c
----------------------------------------------------------------------
diff --git a/progs/xdemos/glxgears.c b/progs/xdemos/glxgears.c
index 53c2098..5969151 100644
--- a/progs/xdemos/glxgears.c
+++ b/progs/xdemos/glxgears.c
@@ -53,8 +53,12 @@
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;
}