aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glthread.h
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2000-11-17 11:00:55 +0000
committerJouk Jansen <[email protected]>2000-11-17 11:00:55 +0000
commit9e83e8c790d8b612a7256c630f6ff7e063faaccb (patch)
tree5202d93deb123bd26c3b1c7781e6ede078381894 /src/mesa/glapi/glthread.h
parent23caf20169ac38436ee9c13914f1d6aa7cf6bb5e (diff)
Committing in .
Patches to compile Mesa on VMS. -Updated for new directory tree -Now compile with PTHREADS on The patch in glthread.h is temporarily. The include file src/types.h conflicts with the system defined types.h. In future the mesa supplied one should be renamed. Modified Files: Mesa/include/GL/vms_x_fix.h Mesa/src/descrip.mms Mesa/src/glthread.h Mesa/src/mms_depend ----------------------------------------------------------------------
Diffstat (limited to 'src/mesa/glapi/glthread.h')
-rw-r--r--src/mesa/glapi/glthread.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/mesa/glapi/glthread.h b/src/mesa/glapi/glthread.h
index b31b5794059..726811f696b 100644
--- a/src/mesa/glapi/glthread.h
+++ b/src/mesa/glapi/glthread.h
@@ -1,4 +1,4 @@
-/* $Id: glthread.h,v 1.5 2000/02/11 21:38:33 brianp Exp $ */
+/* $Id: glthread.h,v 1.6 2000/11/17 11:00:56 joukj Exp $ */
/*
* Mesa 3-D graphics library
@@ -62,6 +62,11 @@
* In general, it should only be included when needed however.
*/
+#ifdef VMS
+# if defined(PTHREADS)
+#include "types.h"
+#endif
+#endif
#ifndef GLTHREAD_H
#define GLTHREAD_H
@@ -71,7 +76,9 @@
#define THREADS
#endif
-
+#ifdef VMS
+#include <GL/vms_x_fix.h>
+#endif
/*
* POSIX threads. This should be your choice in the Unix world