Committing in .
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>
Mon, 6 Mar 2000 12:59:24 +0000 (12:59 +0000)
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>
Mon, 6 Mar 2000 12:59:24 +0000 (12:59 +0000)
 VMS : C++ & Xlib.h problems.

 Modified Files:
  Mesa/include/GL/glx.h
 ----------------------------------------------------------------------

include/GL/glx.h

index e3a580b..fcea293 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: glx.h,v 1.14 2000/03/03 15:35:51 brianp Exp $ */
+/* $Id: glx.h,v 1.15 2000/03/06 12:59:24 joukj Exp $ */
 
 /*
  * Mesa 3-D graphics library
 #define GLX_H
 
 
+#ifdef __VMS
+# ifdef __cplusplus
+/* VMS Xlib.h gives problems with C++.
+ * this avoids a bunch of trivial warnings */
+#pragma message disable nosimpint
+#endif
+#endif
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
+#ifdef __VMS
+# ifdef __cplusplus
+#pragma message enable nosimpint
+#endif
+#endif
 #include "GL/gl.h"
 #ifdef MESA
 #include "GL/xmesa.h"