diff options
author | Jouk Jansen <joukj@hrem.stm.tudelft.nl> | 2000-08-22 13:31:00 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:03:29 +0100 |
commit | 3d8b8650728d379ef3460aa56b8581e4f15e5b5f (patch) | |
tree | 163f7fa7bc6afa179fb653f38832ee3442f23a6a | |
parent | f7461389246eb5d1f78138a3881b8a75297e366c (diff) | |
download | glut-3d8b8650728d379ef3460aa56b8581e4f15e5b5f.tar.gz |
Committing in .
Modified Files:
Mesa/include/GL/glx.h Mesa/include/GL/xmesa.h
Mesa/src/descrip.mms Mesa/src/X/glxheader.h
Mesa/src/X/xfonts.c Mesa/src/X/xfonts.h
Mesa/src-glu/descrip.mms Mesa/src-glut/capturexfont.c
Mesa/src-glut/descrip.mms Mesa/src-glut/glut_cmap.c
Mesa/src-glut/glut_event.c Mesa/src-glut/glut_fullscrn.c
Mesa/src-glut/glut_gamemode.c Mesa/src-glut/glut_init.c
Mesa/src-glut/glut_input.c Mesa/src-glut/glut_menu.c
Mesa/src-glut/glut_menu2.c Mesa/src-glut/glut_overlay.c
Mesa/src-glut/glut_win.c Mesa/src-glut/glut_winmisc.c
Mesa/src-glut/glutint.h Mesa/src-glut/layerutil.h
Mesa/vms/analyze_map.com
Added Files:
Mesa/include/GL/vms_x_fix.h
Patches effective on VMS only. This allows for compiling with
/name=(as_is,short). This breaks the binary compatibility with previous
versions for VMS, but is the only way to combine Mesa with GTK for VMS.
Jouk
----------------------------------------------------------------------
-rw-r--r-- | src/glut/glx/capturexfont.c | 4 | ||||
-rw-r--r-- | src/glut/glx/descrip.mms | 2 | ||||
-rw-r--r-- | src/glut/glx/glut_cmap.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_event.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_fullscrn.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_gamemode.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_init.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_input.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_menu.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_menu2.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_overlay.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_win.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glut_winmisc.c | 4 | ||||
-rw-r--r-- | src/glut/glx/glutint.h | 4 | ||||
-rw-r--r-- | src/glut/glx/layerutil.h | 4 |
15 files changed, 57 insertions, 1 deletions
diff --git a/src/glut/glx/capturexfont.c b/src/glut/glx/capturexfont.c index 3bed13c..b99e793 100644 --- a/src/glut/glx/capturexfont.c +++ b/src/glut/glx/capturexfont.c @@ -10,6 +10,10 @@ encoding the font for GLUT's use. Example usage: capturexfont.c 9x15 glutBitmap9By15 > glut_9x15.c */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/src/glut/glx/descrip.mms b/src/glut/glx/descrip.mms index e6aeb83..5d59c42 100644 --- a/src/glut/glx/descrip.mms +++ b/src/glut/glx/descrip.mms @@ -14,7 +14,7 @@ VPATH = RCS INCDIR = [-.include] LIBDIR = [-.lib] -CFLAGS = /nowarn/include=$(INCDIR)/prefix=all +CFLAGS = /nowarn/include=$(INCDIR)/prefix=all/name=(as_is,short) SOURCES = \ glut_8x13.c \ diff --git a/src/glut/glx/glut_cmap.c b/src/glut/glx/glut_cmap.c index a9d0040..1c496ad 100644 --- a/src/glut/glx/glut_cmap.c +++ b/src/glut/glx/glut_cmap.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdlib.h> #include <string.h> #include <stdio.h> /* SunOS multithreaded assert() needs <stdio.h>. Lame. */ diff --git a/src/glut/glx/glut_event.c b/src/glut/glx/glut_event.c index 6d928af..f4463de 100644 --- a/src/glut/glx/glut_event.c +++ b/src/glut/glx/glut_event.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdlib.h> #include <stdio.h> #include <errno.h> diff --git a/src/glut/glx/glut_fullscrn.c b/src/glut/glx/glut_fullscrn.c index 8d58f17..0f1ea10 100644 --- a/src/glut/glx/glut_fullscrn.c +++ b/src/glut/glx/glut_fullscrn.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdio.h> /* SunOS multithreaded assert() needs <stdio.h>. Lame. */ #include <assert.h> diff --git a/src/glut/glx/glut_gamemode.c b/src/glut/glx/glut_gamemode.c index b685ce3..004f325 100644 --- a/src/glut/glx/glut_gamemode.c +++ b/src/glut/glx/glut_gamemode.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <assert.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/glut/glx/glut_init.c b/src/glut/glx/glut_init.c index b9d2fde..d4d0e8a 100644 --- a/src/glut/glx/glut_init.c +++ b/src/glut/glx/glut_init.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdlib.h> #include <string.h> #include <stdio.h> diff --git a/src/glut/glx/glut_input.c b/src/glut/glx/glut_input.c index bc93d5e..d012c5e 100644 --- a/src/glut/glx/glut_input.c +++ b/src/glut/glx/glut_input.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <assert.h> #include <stdio.h> #include <stdlib.h> diff --git a/src/glut/glx/glut_menu.c b/src/glut/glx/glut_menu.c index 2af3482..0c36d34 100644 --- a/src/glut/glx/glut_menu.c +++ b/src/glut/glx/glut_menu.c @@ -9,6 +9,10 @@ the menuing functionality implemented. This file is used only by the X Window System version of GLUT. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdlib.h> #include <string.h> #include <stdio.h> diff --git a/src/glut/glx/glut_menu2.c b/src/glut/glx/glut_menu2.c index 93119b5..d02cee4 100644 --- a/src/glut/glx/glut_menu2.c +++ b/src/glut/glx/glut_menu2.c @@ -12,6 +12,10 @@ the menuing functionality implemented. This file is used only by the X Window System version of GLUT. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdlib.h> #include <string.h> #include <stdio.h> diff --git a/src/glut/glx/glut_overlay.c b/src/glut/glx/glut_overlay.c index 13ece12..cc3c8ce 100644 --- a/src/glut/glx/glut_overlay.c +++ b/src/glut/glx/glut_overlay.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/src/glut/glx/glut_win.c b/src/glut/glx/glut_win.c index 883bacb..934144f 100644 --- a/src/glut/glx/glut_win.c +++ b/src/glut/glx/glut_win.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/src/glut/glx/glut_winmisc.c b/src/glut/glx/glut_winmisc.c index 5a9d199..60d5a07 100644 --- a/src/glut/glx/glut_winmisc.c +++ b/src/glut/glx/glut_winmisc.c @@ -5,6 +5,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #include <stdlib.h> #include <stdio.h> #include <string.h> diff --git a/src/glut/glx/glutint.h b/src/glut/glx/glutint.h index 71dceec..f54ca0b 100644 --- a/src/glut/glx/glutint.h +++ b/src/glut/glx/glutint.h @@ -7,6 +7,10 @@ and is provided without guarantee or warrantee expressed or implied. This program is -not- in the public domain. */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #if defined(__CYGWIN32__) #include <sys/time.h> #endif diff --git a/src/glut/glx/layerutil.h b/src/glut/glx/layerutil.h index 3461077..8f580af 100644 --- a/src/glut/glx/layerutil.h +++ b/src/glut/glx/layerutil.h @@ -9,6 +9,10 @@ /* Based on XLayerUtil.h: Revision: 1.3 */ +#ifdef __VMS +#include <GL/vms_x_fix.h> +#endif + #if !defined(_WIN32) #include <X11/Xlib.h> #include <X11/Xutil.h> |