From 58f88a29d2eeb9cc5f4658113d0ebe11f60ab61c Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Mon, 8 Dec 2003 09:03:35 +0000 Subject: Committing in . OpenVMS compile issues Modified Files: Mesa-newtree/progs/tests/cva.c Mesa-newtree/progs/tests/dinoshade.c Mesa-newtree/progs/tests/multipal.c Mesa-newtree/src/mesa/main/descrip.mms Mesa-newtree/src/mesa/tnl/descrip.mms Mesa-newtree/src/mesa/tnl/t_vtx_api.c ---------------------------------------------------------------------- --- progs/tests/cva.c | 8 ++++++-- progs/tests/dinoshade.c | 6 +++++- progs/tests/multipal.c | 8 ++++++-- 3 files changed, 17 insertions(+), 5 deletions(-) (limited to 'progs/tests') diff --git a/progs/tests/cva.c b/progs/tests/cva.c index b596a5a4d3..3f7960f53b 100644 --- a/progs/tests/cva.c +++ b/progs/tests/cva.c @@ -1,4 +1,4 @@ -/* $Id: cva.c,v 1.6 2003/11/23 10:27:10 keithw Exp $ */ +/* $Id: cva.c,v 1.7 2003/12/08 09:03:35 joukj Exp $ */ /* * Trivial CVA test, good for testing driver fastpaths (especially @@ -11,7 +11,11 @@ #include #include #include -#include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#ifdef __VMS +# include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#else +# include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#endif #ifdef _WIN32 #include #endif diff --git a/progs/tests/dinoshade.c b/progs/tests/dinoshade.c index 1e4d4abfda..d0a79c1923 100644 --- a/progs/tests/dinoshade.c +++ b/progs/tests/dinoshade.c @@ -38,7 +38,11 @@ #include #include #include /* for cos(), sin(), and sqrt() */ -#include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#ifdef __VMS +# include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#else +# include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#endif #ifdef _WIN32 #include #endif diff --git a/progs/tests/multipal.c b/progs/tests/multipal.c index 9ac5bdf8df..c824b38703 100644 --- a/progs/tests/multipal.c +++ b/progs/tests/multipal.c @@ -1,4 +1,4 @@ -/* $Id: multipal.c,v 1.5 2003/11/23 10:27:10 keithw Exp $ */ +/* $Id: multipal.c,v 1.6 2003/12/08 09:03:36 joukj Exp $ */ /* * Test multitexture and paletted textures. @@ -9,7 +9,11 @@ #include #include #include -#include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#ifdef __VMS +# include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#else +# include /* for ptrdiff_t, referenced by GL.h when GL_GLEXT_LEGACY defined */ +#endif #ifdef _WIN32 #include #endif -- cgit v1.2.3