aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2005-09-08 10:05:37 +0000
committerJouk Jansen <[email protected]>2005-09-08 10:05:37 +0000
commit21ed29598f7f06008017004fcca3a5f397be0f23 (patch)
treec68b641e216cdd964b5c33973bc04f2d90407b19 /src/mesa/drivers
parentce3350770c91f07a86466d59dfdab2a0c16cf282 (diff)
Committing in .
Define suseconds_t for OpenVMS Modified Files: Mesa/src/mesa/drivers/x11/xm_dd.c ----------------------------------------------------------------------
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/x11/xm_dd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/x11/xm_dd.c b/src/mesa/drivers/x11/xm_dd.c
index fcfe32ed42f..3e7174ab928 100644
--- a/src/mesa/drivers/x11/xm_dd.c
+++ b/src/mesa/drivers/x11/xm_dd.c
@@ -1179,6 +1179,9 @@ xmesa_begin_query(GLcontext *ctx, GLenum target, struct gl_query_object *q)
/**
* Return the difference between the two given times in microseconds.
*/
+#ifdef __VMS
+#define suseconds_t unsigned int
+#endif
static unsigned int
time_diff(const struct timeval *t0, const struct timeval *t1)
{