mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-25 11:14:15 +08:00
b5b5c52034
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 ----------------------------------------------------------------------
44 lines
1.7 KiB
C
44 lines
1.7 KiB
C
/***************************************************************************
|
|
* *
|
|
* Repair definitions of Xlib when compileing with /name=(as_is) on VMS *
|
|
* You'll need the PORTING_LIBRARY (get it from Compaq) installed *
|
|
* *
|
|
* Author : Jouk Jansen (joukj@hrem.stm.tudelft.nl) *
|
|
* *
|
|
* Last revision : 22 August 2000 *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef VMS_X_FIX
|
|
#define VMS_X_FIX
|
|
|
|
#ifdef __cplusplus
|
|
#define VMS_BEGIN_C_PLUS_PLUS extern "C" {
|
|
#define VMS_END_C_PLUS_PLUS }
|
|
#else
|
|
#define VMS_BEGIN_C_PLUS_PLUS
|
|
#define VMS_END_C_PLUS_PLUS
|
|
#endif
|
|
|
|
#include <motif_redefines.h>
|
|
|
|
#define XQueryFont XQUERYFONT
|
|
#define XSetPlaneMask XSETPLANEMASK
|
|
#define XChangeKeyboardControl XCHANGEKEYBOARDCONTROL
|
|
#define XDestroySubwindows XDESTROYSUBWINDOWS
|
|
#define XFreeDeviceList XFREEDEVICELIST
|
|
#define XFreeDeviceState XFREEDEVICESTATE
|
|
#define XGetExtensionVersion XGETEXTENSIONVERSION
|
|
#define XGetRGBColormaps XGETRGBCOLORMAPS
|
|
#define XIconifyWindow XICONIFYWINDOW
|
|
#define XInstallColormap XINSTALLCOLORMAP
|
|
#define XListInputDevices XLISTINPUTDEVICES
|
|
#define XLookupKeysym XLOOKUPKEYSYM
|
|
#define XOpenDevice XOPENDEVICE
|
|
#define XQueryDeviceState XQUERYDEVICESTATE
|
|
#define XSelectExtensionEvent XSELECTEXTENSIONEVENT
|
|
#define XWarpPointer XWARPPOINTER
|
|
#define XmuLookupStandardColormap XMULOOKUPSTANDARDCOLORMAP
|
|
|
|
#endif
|